News for hackers. Stuff that matters.
Re:PHP needs a vision by davidlumley on Thursday January 10, 2013 @01:45AM (#5035832)
Facebook _doesn't_ run PHP. A large portion of it is coded in PHP, but it runs C++ through HipHop[1]. Facebook may as well be written in anything that compiles down to C++.

1: http://en.wikipedia.org/wiki/HipHop_for_PHP

Re:PHP needs a vision by memla on Thursday January 10, 2013 @08:25AM (#5036696)
Actually, the difference between compiled C++ code, and the newest version of PHP with APC/Xcache is not that drastic, but facebook needs to squeeze out every bit of performance so they can to cut down on the number of servers.

For what it's worth, PHP 5.4(without APC) performed better than both Python and Ruby on that language shootout page: http://benchmarksgame.alioth.debian.org/u64/which-programs-a...

Re:PHP needs a vision by anu_gupta on Thursday January 10, 2013 @08:17AM (#5036672)
By that standard, anything may as well be written in a language that eventually results in machine code being executed.
Re:PHP needs a vision by Joeri on Thursday January 10, 2013 @02:48AM (#5035983)
Actually, facebook is moving to a JIT model and getting better performance out of it than the crosscompiled code.

http://arstechnica.com/business/2011/12/facebook-looks-to-fi...