Most Popular Stories
Events
- Non-Traditional ISR
Mar 22-24, 2010 — Sheraton National Hotel Arlington, Arlington, VA - Non-Traditional ISR
Mar 22-24, 2010 — Sheraton National Hotel Arlington, Arlington, VA - AIIM Expo + Conference
April 20-22, 2010 — Philadelphia, PA - Healthcare IT Institute
May 2nd-4th — Atlanta, GA
Sponsored Links
HOT TOPICS >> Solid State Drives | IT Security | Open Source | ARM Processors | Google Chrome 4
INDUSTRY >> Healthcare | Government | Financial Services | Biotech | Compliance
Free Newsletter
Latest News
Popular Topics
Whitepapers
Facebook unveils HipHop for PHP
Facebook has unveiled a new PHP platform called HipHop for PHP that it says tremendously improves the performance of the PHP scripting language. HipHop for PHP works by transforming PHP code at the source code level into "highly optimized C++." This source code is then compiled using g++ into a format that is executed via a reimplementation of PHP's runtime system.
In essence, this allows PHP programmers to enjoy the huge performance boost only possible in C++ even as they continued working with the popular scripting language as they have in the past. At the back end, a rewrite of a number of common PHP Extensions was also done in order to take advantage of these performance optimizations.
Facebook engineer Haiping Zhao, highlighted the scale of the problem encountered by Facebook. Noting how scripting languages are less efficient in CPU and memory usage, Zhao was quoting as saying, "Because of this, it's been challenging to scale Facebook to over 400 billion PHP-based pages views every month."
Well, the team took two years to write over 300,000 lines of code to create HipHop for PHP. The project has had a "tremendous" impact on Facebook, achieving an average reduction in CPU utilization of 50 percent, which is a very substantial number. In the spirit of PHP's open source roots, the team has released the fruits of their labors under the same license.
For more on this story:
- check out this article at eWeek
Related Articles:
Facebook working to improve PHP?
Facebook scam catches up to FCC chief
Is Facebook a major social engineering threat?
NSA uses Facebook, too
Facebook users thrown off site
Related Stories
- Social networking could be the vector for next malware wave
- LinkedIn wants consumers to connect more often
- Will social media lose its mojo?
- Facebook gets serious about malware
- The new business tools: Facebook, Twitter
- Facebook's 'Newsfeed' becomes exclusive
- Facebook sued over privacy changes
- Facebook users thrown off site
- Hackers dramatize Facebook's flaws
- Facebook's new privacy policy
Comments
Post new comment
Home
| Subscribe | Advertise | RSS |
Privacy
| Site MapTHE FIERCEMARKETS NETWORKFierceFinance | FierceFinanceIT | FierceComplianceIT | FierceHealthcare | FierceHealthFinance | FierceHealthIT | Hospital Impact | FierceMobileHealthcare | FierceCIO | FierceCIO:TechWatch | FierceContentManagement | FierceMobileIT | FierceGovernmentIT | FierceBiotech | FierceBiotech Research | FiercePharma | FierceVaccines | FierceBiotechIT | FiercePharma Manufacturing | FierceIPTV | FierceOnlineVideo | FierceTelecom | FierceVoIP | FierceBroadbandWireless | FierceDeveloper | FierceMobileContent | FierceWireless | FierceWireless:Europe | FierceCable© 2010 FierceMarkets. All rights reserved. |
![]() |






