What are you experiences compiling WordPress using Hip Hop? (
)
Specific:
- is this maintainable with upgrades?
- is the performance increase bigger than using alternatives?
update: also interesting: http://www.phpclasses.org/blog/post/168-Can-NET-make-PHP-run-faster-than-the-official-PHP-implementation.html
Original approach of static compilation in HipHop PHP-to-C++ has been since replaced by HipHop VM just-in-time compilation.
Facebook prominently featured WordPress as example application and it no longer requires extensive (barely any by now) core edits.
Old answer
There is quite extensive presentation Rasmus Lerdorf – PHP Performance that uses WP as test subject and covers HipHop among many other things.
The summary I can formulate from that presenation is that HipHop:
I think more common performance improving alternatives (like reverse proxy) can easily outperform that without such downsides.
There is ongoing work on making this possible, reference http://core.trac.wordpress.org/ticket/14642 as you can see it keep getting punted to future releases, bit core devs are actively involved in making it happen.
As of WordPress 3.3 one still can’t compile directly in HPHP without core edits.
Also worth following: http://huichen.org/en/2010/06/wordpress-three-hardened-by-hphp/ & http://huichen.org/en/2010/06/wordpress-3-benchmark-part-2/ if you’re interested in it.