office politics
It's all just 1s and 0s
- Messages
- 6,555
- Location
- in the lab
http://www.drdobbs.com/cpp/222601211;jsessionid=23PV4CIHY2FINQE1GHPCKH4ATMY32JVN
click link for full article
Facebook Releases 'HipHop for PHP'
By Dr. Dobb's Journal, February 04, 2010
An open source project that turns PHP source code into highly optimized C++
--------------------------------------------------------------------------------
HipHop for PHP is a Facebook open source project that turns PHP source code into highly optimized C++, then compiles it with g++ to build binary files. You keep coding in simpler PHP, then HipHop executes your source code in a semantically equivalent manner and sacrifices some rarely used features -- such as eval() -- in exchange for improved performance.
Facebook claims that it sees about a 50% reduction in CPU usage when serving equal amounts of Web traffic when compared to Apache and PHP. Facebook's API tier can serve twice the traffic using 30% less CPU.
click link for full article