Most Popular Stories
Events
- COMPTEL PLUS Spring 2012
April 15-18 — San Francisco, CA - Ready to meet the next-generation of business?
March 4-6 2012 — San Francisco, CA - Northwestern University Master's in Information Systems
- MDSL Telecom Expense Management Roadshow
Feb 21–23, 2012 — New York, Houston, Chicago
Sponsored Links
Free Newsletter
HOT TOPICS >> The tech world's top flops and fiascos of 2011 | Top 8 features in Windows 8 | Paul's Q&As
INDUSTRY >> Healthcare IT | Government IT | Financial Services IT | Biotech IT | Compliance IT
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
- Facebook struggles to delete old photos from servers
- Tech giants team up to combat phishing with new email specification
- Microsoft adds XMPP to Windows Messenger
- UBC 'socialbots' infiltrate Facebook, make off with 250GB of personal data
- Facebook to pass URLs to Websense to detect malicious links
- Zuckerberg: Yes, I do use Facebook 'all day long'
- Spotlight: Facebook rejects claim that facial recognition violates German privacy law
- What enterprises should know about Google+
- Report pegs Facebook IPO at $100B; others skeptical
- Facebook fumbles face recognition rollout, apologizes
Home
| Subscribe | Advertise | RSS |
Privacy
| Site Map
| EditorsTHE FIERCEMARKETS NETWORKFierceEnergy | FierceSmartGrid | FierceFinance | FierceFinanceIT | FierceComplianceIT | FierceHealthcare | FierceHealthFinance | FierceHealthIT | Hospital Impact | FierceMobileHealthcare | FierceHealthPayer | FiercePracticeManagement | FierceEMR | FierceCIO | FierceCIO:TechWatch | FierceContentManagement | FierceMobileIT | FierceGovernmentIT | FierceGovernment | FierceHomelandSecurity | FierceBiotech | FierceBiotech Research | FiercePharma | FierceVaccines | FierceBiotechIT | FiercePharma Manufacturing | FierceMedicalDevices | FierceDrugDelivery | FierceIPTV | FierceOnlineVideo | FierceTelecom | FierceEnterpriseCommunications | FierceBroadbandWireless | FierceDeveloper | FierceMobileContent | FierceWireless | FierceWireless:Europe | FierceCable© 2011 FierceMarkets. All rights reserved. |
![]() |




