Inside Network - Providing news and market research to the Facebook platform and social gaming ecosystem Inside Facebook    Inside Social Games    Inside Virtual Goods    AppData    PageData  
Inside Facebook Gold   App Stats   Page Stats   Jobs   Contact   About   Advertise       Subscribe:   Email   RSS   Twitter   Facebook
Frima Studio - Facebook Game Development
By Mike Knoop 8 Comments »

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.

Inside Facebook Gold - Exclusive data and analysis on the Facebook business ecosystem
Check out Inside Facebook Gold - Exclusive data and analysis on the Facebook business ecosystem.

Inside Facebook Sponsors
SoftLayer     Mopay
Super Rewards     AdParlor
Alchemy

8 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

Leave a Reply