Facebook Open-Sources HipHop PHP Compiler Software

Earlier this morning, Facebook officially made their new PHP “compiler,” called HipHop, available as open source software. In the blog post by Haiping Zhao, HipHop for PHP is described as a “source code transformer” which has allowed Facebook to nearly double their PHP operating speeds, at the cost of minor omissions such rarely used functions in the PHP language. For a site which serves nearly 400 billion PHP-based page views every month, that is an incredible performance boost. According to the article, Facebook is now serving over 90% of their traffic using HipHop.

Essentially, HipHop for PHP gains its performance increase by transforming the scripted PHP language into the compiled C++ language. Scripted languages typically have the advantage of being simple to learn, code, and debug while sacrificing speed. Compiled languages on the other hand have a steeper learning curve and are more strict; however, are considerably faster and better optimized to handle memory. Facebook seems to have found a balance between both worlds with HipHop for PHP.

HipHop for PHP was accurately described in an old anonymous interview with a Facebook employee. Many of the details match up with information published in this morning’s blog post.

If you would like to learn for about HipHop, Facebook will be streaming a live tech talk regarding HipHop for PHP this evening at 7:30PM Pacific. You can watch live coverage of the event here. There is also a developer mailing list to which you can subscribe, and a HipHop wiki (the link has not yet been posted). All of the above details and more can also be found on the developer blog.

Facebook Marketing Bible -
The Guide to Marketing your Brand, App, Website, or Content Inside Facebook

Leave a Reply

10 Responses to “Facebook Open-Sources HipHop PHP Compiler Software”

  1. Facebook Open-Sources HipHop PHP Compiler Software | Nova WeatherNet News says:

    [...] Read this article: Facebook Open-Sources HipHop PHP Compiler Software [...]

  2. Facebook PHP Compiler being Open Sourced | Web Tech Mechanic says:

    [...] earlier announced that they are releasing their PHP compiler to open-source. I love it when a company uses open [...]

  3. Systrix says:

    HipHop seems really interesting, we have had to switch to lighttpd and xcache to achieve huge performance benefits for our objectCMS framework which is now faster that wordpress, joomla and drupal. I am wondering how hiphop compares to lighttpd and xCache, does anyone know when hiphop is going to be released to the public.

  4. HipHop, avagy gyors PHP a Facebooktól at ‹Webakadémia /› says:

    [...] napokban be lett harangozva (bár még nem jelent meg a cég nyílt forrású projektjei között, de dolgoznak rajta), hogy a [...]

  5. HipHop For PHP says:

    [...] http://www.insidefacebook.com/2010/02/02/facebook-open-sources-hiphop-php-compiler-software/ [...]

  6. The new (and improved) Facebook « PixelVulture says:

    [...] weren’t left in the dark either, there is the creation of HipHop for php (Facebook made this open-source), which is a way to get code out easier and the option to ask users [...]

  7. Facebook Open-Sources HipHop PHP Compiler Software « Web technology through Jean's eye says:

    [...] Seen on TechCrunch and insidefacebook.com [...]

  8. Andrey Rogovsky says:

    Hi!

    I was create Yum repo for Centos 5

    If you need HipHop PHP for Centos 5 – just download repo

    All information on http://hostinghelp.biz/node/24

  9. Yossi Smitsky says:

    I cannot wait to try out HipHop. Now ASP.NET has some competition. The only thing ASP.NET had that PHP lacked was speed because PHP is an interpreter and ASP.NET runs compiled programs.

  10. What language is Facebook written in? - Quora says:

    [...] User Experience Designer, Product Dev… Says here that they even have a PHP compiler in-house:http://www.insidefacebook.com/20…So yeah, it's PHP.This answer .Please specify the necessary improvements. Edit Link Text [...]

Inside Facebook Sponsors
Shoutlet Nanigans Appmau GREE Frima Votigo PangeaMedia LifeStreet
Featured Company
Jobs of the Day

Northwestern University
Evanston, IL

TinyCo
San Francisco, CA

Squarespace
New York, NY

More Research & Information from Inside Facebook

Sign up for free email updates beyond today's news.

 

WebMediaBrands
Mediabistro | All Creative World | Inside Network
Jobs | Education | Research | Events | News
Advertise | Terms of Use | Privacy Policy
Copyright 2012 WebMediaBrands Inc. All rights reserved.