With the recent discussion on the origins of PHP function names, and about what, if anything, can be done to fix PHP without ruining it...I'm curious about what happens at Facebook. Besides HipHop, do they maintain a strict PHP style among their developers? Even if HipHop can handle all of PHPs variations, I imagine there's time saved by writing optimally-designed (for the human) code, too?
HipHop VM: now at 98.5% PHP framework parity, 16% faster
11–20 of 112 posts
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#12With the recent discussion on the origins of PHP function names, and about what, if anything, can be done to fix PHP without ruining it...I'm curious about what happens at Facebook. Besides HipHop, do they maintain a strict PHP style among their developers? Even if HipHop can handle all of PHPs variations, I imagine there's time saved by writing optimally-designed (for the human) code, too?
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#13What does a Lockdown implies?
There generally aren't a lot of status meetings, team meetings, project meetings, and so forth at Facebook, but you might want to turn down a request to present at another team's meeting, or turn down those requests to interview - they can wait, or another person can be found.
People tend to make progress on lower-priority work items in between higher-priority work items - things like migrating onto a new library or version of a service, or maybe migrating from one set of machines to another if you aren't using one of the high-level service management systems. This is necessary to prevent these things from becoming interrupt items down the line, but during a lockdown period, it's okay to let these slide for a bit.
If the whole team does this, then suddenly you're spending a lot more time together. Instead of potentially working on different parts of the software like you usually do, you can all focus on a particular class of problem - in this case, performance and parity. That means everyone has that context loaded up, and you can have better discussions and quicker code reviews.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#14With the recent discussion on the origins of PHP function names, and about what, if anything, can be done to fix PHP without ruining it...I'm curious about what happens at Facebook. Besides HipHop, do they maintain a strict PHP style among their developers? Even if HipHop can handle all of PHPs variations, I imagine there's time saved by writing optimally-designed (for the human) code, too?
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#15What does a Lockdown implies?
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#16What does a Lockdown implies?
I'm not sure about the particulars of this one, but a lockdown is generally a period where you are encouraged to prune away unnecessary and/or lower-priority requests for your time. There generally aren't a lot of status meetings, team meetings, project meetings, and so forth at Facebook, but you might want to turn down a request to present at another team's meeting, or turn down those requests to interview - they ca…
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#17Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#18Earlier quoted context omitted.
HipHop was the PHP -> C++ compiler. HHVM is a JIT-compiled implementation of PHP. The 15% increase is relative to HHVM at the beginning of the 3-week sprint they just completed. HHVM was already far faster than vanilla PHP when it was first publicly announced over a year ago.
That's more interesting. How much faster is hhvm overall?
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#19Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#20Other than Facebook, does anybody have HipHop running in production? Any big caveats?
I use Nginx as frontend and direct all dynamic request to HHVM's own webserver (https://github.com/facebook/hhvm/wiki/Using-nginx-as-Front-S... )
Keep in mind, Facebook runs on HHVM too, so it's rock solid.
Btw. the devs are very helpful on the official irc channel!