Results 1 to 6 of 6

Thread: Facebook's HipHop Can Now Build Grimstad

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    14,903

    Default Facebook's HipHop Can Now Build Grimstad

    Phoronix: Facebook's HipHop Can Now Build Grimstad

    Announced to the public last year by Facebook was HipHop, an open-source project that transforms PHP code into highly-optimized C++ and then uses the GCC C++ compiler to produce a native system binary. Facebook's original numbers showed that by using this transformer/compiler on their servers the CPU usage went down by about 50% and they were able to supply around 70% more traffic on existing resources since the PHP code is no longer being dynamically interpreted. Here's a look at Facebook's HipHop during some of our first tests...

    http://www.phoronix.com/vr.php?view=OTQxNQ

  2. #2
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,128

    Default

    - what are they doing in the c++ that makes it x86_64 only? 64-bit asm?
    - 33.7mb, is that stripped?

  3. #3
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,128

    Default

    BTW, looking forward to PHP-less binaries of PTS releases

  4. #4
    Join Date
    Mar 2009
    Location
    in front of my box :p
    Posts
    797

    Default

    Um, well isn't that a nice example how free software allows you to tune things and improve for your needs?
    Even though I avoid facebook and the like it's good to see that a large enterprise has seen the benefits of free software and also gave some contribution back.

  5. #5
    Join Date
    Oct 2008
    Posts
    106

    Default

    there's some functions (e.g. the eval() call) and other items that HipHop doesn't yet implement
    It looks like there's an option to enable eval support, see this. But that'd call an interpreter, which isn't necessarily a good idea

  6. #6
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Oh yeah I remeber that. There were three seperate teams and this particular version turned out to be the best one.

    Very interesting...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •