TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

First steps with HHVM and Vagrant

38 pointsby allanmacgregoralmost 12 years ago

5 comments

bhaueralmost 12 years ago
Speaking of HHVM, would any PHP subject matter experts be interested in submitting pull requests to add HHVM tests to our project [1]? It would be worthwhile to see raw PHP and one or two mainstream PHP frameworks on HHVM versus the existing nginx&#x2F;FPM configuration of the same.<p>[1] <a href="https://github.com/TechEmpower/FrameworkBenchmarks/" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;TechEmpower&#x2F;FrameworkBenchmarks&#x2F;</a>
评论 #6118035 未加载
kodablahalmost 12 years ago
HHVM has a bytecode format, an intermediate language (though just via C++ AST&#x27;s I believe), and a fairly clean FFI interface to C++. I would be really interested if FB opened up the details a tad more than the two txt files in docs and made it easier for non-PHP devs to play around with writing a frontend for a new&#x2F;different language.
评论 #6118486 未加载
allanmacgregoralmost 12 years ago
As promised if you want to skip the whole setup you can download the configured vagrant box by doing the following:<p><pre><code> - mkdir vagrant-hhvm - cd vagrant-hhvm - vagrant init - vagrant box add hhvmdev https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;5qyjkes49nk5abt&#x2F;package.box</code></pre>
评论 #6117986 未加载
MAGZinealmost 12 years ago
Last time I tried to use HH, there was no proper php5.4 support. no traits made HH a no-go. Compiled with the fact that namespacing didn&#x27;t work right, it was just not viable.<p>That was a few months ago though, so maybe things are better now.
zrailalmost 12 years ago
Those bold things in the first paragraph would be <i>wonderful</i> if they were links. As is, I was deeply frustrated by my inability to do anything other than highlight them.
评论 #6117902 未加载