6 months ago, Facebook unveiled Hip Hop, with impressive performance gains.
The announcement corresponds to reality, reducing CPU consumption by about 50%. But the team did not stop there, and was successful in optimizing a bit more speed and thus performance. Although the code is open source and begins to be deployed to other PHP projects like Drupal, MediaWiki, phpBB, WordPress.
Scott of Facebook shows the direction of the next estimates as support for FreeBSD and 32-bit environments or as Mac OS X.
Download HipHop
Source : Facebook's Engineering Note
The Google Summer of Code (GSoC) 2010 has revealed the list of participants. Over 1,000 projects have been selected.
The list of candidates was published on the official website of GSOC with their mentor. The selected projects include:
- PHP and technology powered by Hip-Hop Facebook
- PHP / RFI Sandbox
- Charts in phpMyAdmin
- The Drupal
- Etc.
The results will be announced next Aug. the 23
The information has been officially confirmed by Facebook, a result of many rumors on the web which anticipated the announcement. He murmured here and there that a team of social network would have worked on a new build PHP JIT (Just In Time) which would speed increases up to 80%.
The project would be quite similar to Google Unladen Swallow, which had involved a rewrite of the Python compiler.
The project teams Facebook called HipHop and is available since this afternoon in open-source. The result of hard work and secret two long years.
But contrary to what was expected, HipHop is actually a rewrite of the PHP runtime. The PHP source code is translated into C + + and compiled with g + +.
An engineer who worked on the project, Haiping Zhao said: "With HipHop, we reduced the CPU usage on our web servers about 50%.
This should help alleviate the datacenter Facebook.
"HipHop execute the source code of a semantic way and sacrificing some less used functions like eval () for better performance. HipHop we can correct the logic of the final assembly of a page in PHP." continued he.
He concluded by stating that PHP and C + + share virtually the same syntax, but C + + is othing less system resources.
The information has been officially confirmed by Facebook, a result of many rumors on the web which anticipated the announcement. He murmured here and there that a team of social network would have worked on a new build PHP JIT (Just In Time) which would speed increases up to 80%.The project would be quite similar to Google Unladen Swallow, which had involved a rewrite of the Python compiler.The project teams Facebook called HipHop and is available since this afternoon in open-source. The result of hard work and secret two long years.But contrary to what was expected, HipHop is actually a rewrite of the PHP runtime. The PHP source code is translated into C + + and compiled with g + +.An engineer who worked on the project, Haiping Zhao said: "With HipHop, we reduced the CPU usage on our web servers about 50%.This should help alleviate the datacenter Facebook.
"HipHop execute the source code of a semantic way and sacrificing some less used functions like eval () for better performance. HipHop we can correct the logic of the final assembly of a page in PHP." continued he.He concluded by stating that PHP and C + + share virtually the same syntax, but C + + is othing less system resources.