Faster PHP fo shizzle—HipHop for PHP

HipHop for PHP

(This applies to this and the next two sections. I’m reordering parts for clarity. This was mostly given by Haiping. A performance discussion (not recorded) was given by Sonya, the projects manager. Walkthrough of some of the code was done by Ian Proctor.)

HipHop PHP
HipHop PHP
Facebook, Palo Alto, California

Sony DSC-WX1
1/30sec @ ƒ5.6, ISO400, 17.9mm (100mm)

An early iteration of the logo.

“Yo, PHP, I’m really happy for you, Imma let you finish rendering this page, but C++ had one of the highest performing benchmarks of all time!

[IN PROGRESS: THE STUFF BELOW WILL JUST CONFUSE YOU]

- source code transformer
- why c++? easy mapping, + want people to maintain the C++

phalanger? – MS bought the team, they’ve disappeared
phc? PHP to C allows zend compiler

July 2009 0%
90% today (January) in terms of traffic on 85% of the servers
March->sept 2009 production, testing, fixing

eval: http://en.wikiquote.org/wiki/Rasmus_Lerdorf If eval() is the answer, you’re almost certainly asking the wrong question

1 million lines = 500MB binary
use Google Gold as linker

compiled using dist_cc = 30 nodes and a few minutes
deploy using bittorrent
(more at Velocity conference)
port takeover is open-sourced

About tychay

light writing, word loving, ❤ coding
This entry was posted in PHP and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.