February 3, 2010 | Developer


PHP is the programming language that runs many web applications, including WordPress. PHP’s slower than many other languages, but it’s fast to develop in.

Now Facebook, which also runs on PHP, has announced a new version of PHP that runs twice as fast.

This also means that if you have a popular WordPress blog, you might only have to have half the server size you use now.

How PHP Works

PHP, in its usual incarnation, is an interpreted language. This means that a program (such as a PHP module in the Apache webserver) reads the PHP instructions in your script and executes them in turn. Every time the PHP script is executed, it has to be turned into machine code, even if the script runs 1000 times per hour. Obviously, this is inefficient, but people put up with it because PHP is considered easier to develop in than other languages.

By comparison, C++ is a language which is usually compiled (changed to machine instructions which run directly on the CPU). This happens only once, and every time the program runs, it runs directly on the processor. Because there’s no intermediate interpretation step, C++ programs run much faster.

Facebook’s HipHop PHP

Facebook announced what they are calling HipHop PHP, which translates PHP into C++. Then you use g++, the GNU C++ compiler, to compile the C++ program.

Here’s how the process works:

HipHop PHP Transformation Process

HipHop PHP Transformation Process

Facebook says compilation of their PHP code results in savings of 50% in server usage.

They also released HPHPi, which is an optimized PHP interpreter that doesn’t require you re-compile your code.

Download HipHop PHP

Facebook is going to release the code to HPHP under the PHP license on Github for download at this address (but it’s not there yet).


In order to optimize PHP to the maximum, they left out some rarely used dynamic functionality, such as the eval() function.

I’ll report more on HipHop PHP as Facebook releases more information.


Facebook HipHop PHP announcement

HipHop release video

Facebook HipHop developer mailing list

ZDNet article

HipHop for PHP: Who Benefits?

BestTechie article

Feed2Meme article

Facebook’s HipHop Goes Public With a New PHP Runtime

PHPC: A PHP Compiler

Roadsend PHP compiler

An interview with a Facebook employee about PHP

PHP Facebook release

If you liked this article

If you liked this article, don’t forget to subscribe for updates!

Subscribe to New Articles by RSS or E-mail

Get updates by RSS (What’s RSS?)

Subscribe by email:

Follow me on Twitter

Top Incoming Search Terms

“leave a reply”+“hiphop” site:org " reply"site:http://digitivity.org/ "leave a reply" site:http://digitivity.org/ +hiphop programming addictinggames10.net compiling hip hop php on a mac compiling hip hop php under windows compiling hiphop on windows compiling wordpress hiphop download hiphop php compiler dreamhost hiphop php facebook announce compile php facebook hip hop compiler facebook hip hop windows facebook hiphop for windows facebook hiphop wordpress facebook runs on php flux facebook programming language hip hop compiler hip hop drupal compile hip hop php hip hop php on windows hip-hop php under windows hiphop compiler hiphop for php "on windows" apche hiphop for php mac hiphop for php on mac hiphop for php setup hiphop for windows hiphop logo hiphop php compiler download hiphop php compiler software hiphop php compiler window hiphop php mac hiphop php on mac hiphop php windows hiphop programming language hiphop windows hiphop windows server php hiphop-php hiphop-php under mac hiphop-php windows hiphop-php wordpress how hiphop php works info:http://digitivity.org installing hip hop php on dreamhost intext:commentluv enable "real estate" site:.org is facebook hiphop is available for windows mac "hiphop for php" mail knxg com mail knxg.com mail knxg.com loc:us php calling compiled hiphop php hip hop + windows php hip hop for windows php hiphop php hiphop +windows php hiphop compiler for windows php hiphop compiler on windows php hiphop compiler windows php hiphop windows plastic surgery pittsburgh quick download hiphop php roadsend php compiler windows site:backgammon-online.info site:http://digitivity.org site:http://digitivity.org/ "leave a reply" transformation process windows hphp hiphop wordpress and hiphop facebook wordpress blogs wordpress php hiphop

Related posts:

  1. How Facebook Runs PHP and MySQL I was surprised to know that Facebook runs on PHP....
  2. Heise’s 2-Click Solution for Facebook Privacy Heise, a German computer magazine, tweaked their website to force...
  3. Facebook Timeline Will Let You Know Who Unfriended You Up until now you’ve been able to find out who...
  4. The Origins of Facebook, Hacked E-mails, and Privacy Facebook is one of the largest sites on the Internet....
  5. How to Serve Your WordPress Blog from the Root Directory If It’s Installed in a Subdirectory If your blog is the main point of focus for...

Explore related content: , , , , , , ,

13 Responses to “Facebook Announces a Better, Faster PHP: HipHop PHP”

  1. It is vitally important for temperature sensitive materials.
    Since ancient times, processes and methods of road construction have gone through many changes.
    is considered one of the best in the world at accurately
    forecasting short-term and intermediate technological

  2. Eric Ludy says:

    Nowadays Facebook the number one most used social media and I like the way experts doing more improvements to make the function faster and better.

  3. elearning says:

    Spot on with this write-up, I honestly believe this web site needs a lot more attention. I’ll probably be back again to read through more, thanks for the info!

  4. I’ve been browsing online more than three hours nowadays, but I by no means found any attention-grabbing article like yours. It is lovely price sufficient for me. Personally, if all webmasters and bloggers made just right content as you did, the web can be a lot more useful than ever before.

  5. Numbers says:

    excellent post, very informative. I’m wondering why the opposite specialists
    of this sector don’t notice this. You must proceed your writing.
    I’m sure, you’ve a huge readers’ base already!

  6. Barbie says:

    Nice Post Very informat

  7. I am no longer certain where you are getting your information,
    but good topic. I needs to spend a while studying more or
    understanding more. Thanks for wonderful information I used to be in search of this information for my mission.

  8. seo bible says:

    This is a great tip especially to those fresh to the blogosphere.

    Short but very accurate info… Many thanks for sharing
    this one. A must read article!

  9. Mahalia says:

    Professional pumping takes several types, all of carrying fluids or slurries by way of a method stream together with the
    general requirement. Pumps are selected on the basis of the request needs including price, metering precision, temperature,
    particle threshold, liquid viscosity, head pressure, protection, support fee and a selection of
    additional details. Pumps can usually be grouped in two classes.
    Displacement pumps that are good drive them to move
    in a path that is controlled and identify discrete volumes of the working liquid.
    /2011|2011} /149456 submitted on May 26, 2010, calling T.
    Berger and E. Fogelman as makers. The whole disclosure
    of Global Request Nightclub. {{No.|{One other|Another|An added} {important|essential|crucial|critical|significant} {energy
    saving|energy-saving} {benefit|advantage|gain|profit|reward} is {that|the fact that} the RCC {might|may|could} be {geared up|prepared|geared-up|ready|equipped} {with|having|using} a refrigeration {heat|temperature} reclaimer (RHR).|{This is|This
    really is|That is|This can be} {much like|similar to|just like} the
    {frequent|regular|repeated|recurrent|consistent} desuperheater coil {discovered|found|identified|uncovered} {on|about|around|to} the {high|large|superior}-{finish|end} {warmth|heat|temperature} pumps and {air conditioners|air-conditioners|airconditioners}
    ({mentioned|described|stated} below).|The {main|primary|key|principle} {distinction|difference|variation|variance} is {that|the
    fact that} the RHR not {only|just|merely|simply} makes {hot|warm} water {in|within|inside|while in} the
    {course|span|length} of the {cooling|chilling} {season|period|time|year}, {but in addition|but additionally|and also} does it through the {heating|heat|warming} season through {the use
    of|the usage of|the utilization of|using} the {excess|surplus|extra} {capacity|capability|potential|volume} of the
    {outdoor|outside} {unit|device|product|system|model} {during|throughout|through} the milder winter {weather|months} to
    {make|create|produce|generate} {primarily|mainly|mostly|largely|generally} free {home|house|property|household} {hot water|heated
    water|warm water|hot-water|hotwater}.|Reciprocating pumps are
    {characterized|indicated|recognized|known} {by|from} {the {number|quantity|amount|variety} of
    {pump|push}|pump’s {number|quantity|amount|variety}} {heads|minds} they {utilize|use|employ}.
    {A pump {with|having|using} a {single|simple} pump {head|mind|brain} is|There
    is {with|having|using} a {single|simple} pump {head|mind|brain} a pump} {referred to as|known as|called} a simplex pump.|{Duplex, {Triplex and Quad|Triplex}|Triplex duplex
    and Quad|Quad {, Triplex and|and} duplex|Triplex, duplex and Quad} pumps {refer to|make reference
    to|reference|check with|consult with} pumps with {two, {{three|several} and four|three|several}|four
    and two, {three|several}} {heads respectively|heads}. {Two or
    more|Several|A couple of|More or two} pumps {heads|brains|minds} {are required to|have to|must}
    {provide|supply|offer|present|give} pseudo- {{continuous|constant|steady|ongoing|continual} {flow|circulation|movement|move|stream} since one {pump|push} {head|mind|brain} {can|could|may|might} be {delivering|providing|offering|supplying|giving} {while|as|whilst} the other is aspirating|{while|as|whilst} the other is aspirating {continuous|constant|steady|ongoing|continual} {flow|circulation|movement|move|stream} since one {pump|push} {head|mind|brain} {can|could|may|might}
    be {delivering|providing|offering|supplying|giving}|{while|as|whilst} the other is aspirating, {continuous|constant|steady|ongoing|continual}
    {flow|circulation|movement|move|stream} since one {pump|push} {head|mind|brain} {can|could|may|might} be {delivering|providing|offering|supplying|giving}|{continuous|constant|steady|ongoing|continual} {flow|circulation|movement|move|stream} since one {pump|push} {head|mind|brain} {can|could|may|might} be {delivering|providing|offering|supplying|giving} {while|as|whilst} the other is currently
    aspirating}. {However|Nevertheless|Nonetheless}, {since|because|considering that} {the very {nature|character|dynamics} of the {movement|motion|activity|action}|the
    movement’s very {nature|character|dynamics}} {involves|entails|requires}
    {{{stopping|preventing|ending} and restarting|stopping|preventing|ending}|restarting and {stopping|preventing|ending}} in {opposing|other|opposite} {{motions|movements|moves|activities|actions}, reciprocating|motions|movements|moves|activities|actions} pumps can {only|just only|only just} {emulate|copy|imitate|replicate} {continuous|constant|steady|ongoing} rotary pumps {approximately|roughly|around|about}.|{Our|Your} {company|organization|business|firm}
    {specializes in|focuses on|focuses primarily on} {providing|supplying|offering|delivering|giving} {restore|recover|regain}, {set up|put up|setup|create|put in place},
    {replacement|alternative|substitute|substitution} and {maintenance|preservation} {company|organization|business|firm|corporation} for {the|that|your} {following|subsequent} {type|kind|form|sort} of
    pumps on {an industrial|a commercial|a professional}
    and {business|company|enterprise|organization} {level|degree|stage|amount}: sewage pumps, {booster|enhancement} pumps, circulator pumps, cooling {tower|system} pumps, {roof|top|ceiling} {tank|container|aquarium} pumps, sump pumps, and {chiller|fridge|refrigerator} pumps.|The {detail|depth|aspect} {in|within|inside|while in}
    the {ice|snow} is {pretty|fairly|quite|very|rather} {amazing|incredible|remarkable|wonderful|awesome}.

    {They also|Additionally they|In addition they} {get their|obtain} own {ice|snow} about 1/2 {mile|distance} {away
    from|from|far from} their {own|particular} {source|supply|resource|origin|supplier}.|{{Pro|Professional} Pump Corp.|Pro|Professional} Of {New
    York|Ny|Newyork|Nyc} {offers|provides|gives|delivers|presents} {{{industrial|commercial|professional} and residential|industrial|commercial|professional}
    pumps and {parts|components|elements|pieces|areas} {services|providers|solutions|companies}|residential and {industrial|commercial|professional}
    pumps and {parts|components|elements|pieces|areas} {services|providers|solutions|companies}|{parts|components|elements|pieces|areas} {services|providers|solutions|companies} and
    residential and {industrial|commercial|professional} pumps|{parts|components|elements|pieces|areas} {services|providers|solutions|companies}
    and {{industrial|commercial|professional} and residential|industrial|commercial|professional} pumps}.
    {We have|We’ve} {registered|listed|documented} {plumbers, {technicians|specialists|professionals|experts}|{technicians|specialists|professionals|experts}, plumbers|{technicians|specialists|professionals|experts} plumbers}, and {engineers|designers} {on-call|on call|oncall} {for your|for
    the|to your} every {pump|push}-{related|associated|connected|linked|relevant} need {at any time|anytime|whenever you want} of {the
    day|your day|the afternoon}. {Pro|Professional} Pump Corp.|Of {NYC|NY} {will|may|can} {always|usually|constantly|often|generally} {try
    to|attempt to|make an effort to|try and} {work|function|perform|operate} {within|in|inside} your budget and {we will|we shall|we’ll|we are going to}
    {get|obtain|have} the {job|work|task} {done|completed|performed} {at any
    time|anytime|whenever you want} without {emptying|draining|clearing} your pockets.Professional
    {Pump|Push} Corp.|Of {NY|NYC} prides itself on quality {provider|supplier|company|service}; {we will|we shall|we’ll|we
    are going to} do {whatever|whatsoever} we {can|are able to|could} to {make|create|produce|generate} our
    {customers|clients|buyers} {happy|pleased|content|satisfied|delighted} so {that you|you} {keep|retain|preserve} us {in mind|in your mind|at heart} for
    {future|potential|upcoming} {pump|push}-{related|associated|relevant} {questions|concerns|queries|inquiries}, {issues|problems|dilemmas|concerns|troubles}, and {jobs|careers}.}

  10. citcitcuwit says:

    It’s really a nice and useful piece of information. I am happy that you just shared this useful information with us. Please stay us informed like this. Thank you for sharing.

  11. Houston companies love the belief that this company assures that their shipments is going to be cleared through customs and
    brought to their domestic or international destinations on time and in good condition. Just make use of a corrugated box of
    your liking and make sure to shield the products inside securely having a type of
    packing material. Depending on the nature of the commodity,
    a custom broker has to be selected.

  12. Tutti says:

    This is what we need – an insight to make evoneyre think

  13. Hello, this weekend is fastidious designed for me, as this occasion i am reading
    this great educational paragraph here at my house.

Leave a Reply

CommentLuv Enabled