Board logo

主題: [php] [討論]有人用過HipHop-php嗎? [打印本頁]

發表人: Vic    時間: 2011-2-16 01:08 AM     主題: [討論]有人用過HipHop-php嗎?

按Facebook的說法...HipHop-php可以將php compile成C++,從而減少CPU load達50﹪ 。太神奇了吧


引用:
HipHop transforms your PHP source code into highly optimized C++ and 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 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.

source: https://github.com/facebook/hiphop-php/wiki

有朋友用過嗎?




歡迎光臨 TWed2k (http://twed2k.org/) Powered by Discuz! 4.1.0