The Full Wiki



More info on HipHop (computing)

HipHop (computing): Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

Updated live from Wikipedia, last check: June 02, 2012 05:32 UTC (46 seconds ago)
(Redirected to HipHop for PHP article)

From Wikipedia, the free encyclopedia

HipHop
Hiphop logo white.png
Developer(s) Facebook
Initial release February 2, 2010 (2010-02-02)
Written in C++, C
Operating system Cross-platform
Type source code transformer
License Free software (PHP License)
Website http://wiki.github.com/facebook/hiphop-php/

HipHop for PHP is a source code transformer for PHP script code. HipHop programmatically transforms PHP source code into highly optimized C++ and then uses g++ to compile it to machine code. HipHop includes a code transformer, a reimplementation of PHP's runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.[1]

HipHop was created by Facebook to save resources on their servers. It is being distributed with its over 300.000 lines of source code written in C++ and C as free software under the terms of version 3.01 of the PHP License.

They also developed HPHPi, which is an experimental interpreter designed for development with no need to compile the PHP source code before running it.

Contents

History

Initially HipHop has been developed at Facebook under the lead of Haiping Zhao on CentOS and Fedora systems. It follows earlier similar developments like phc[2] and Roadsend PHP Compiler (compiling to C) or Quercus [3] and Project Zero [4] (Java implementations of PHP) or Phalanger (compiler for .NET). It has been under development for two years already when the release as Free software under the PHP License was announced for 2nd of February 2010. Because of technical difficulties Facebook failed to deliver on date,[5][6] but on 20th of February the sources were finally uploaded to the public Git repository. The software serves hundreds of millions of users at Facebook.

Using HipHop for PHP

HipHop for PHP is an open source project, you can get the all of this on GitHub under the open source PHP license.

HipHop currently supports PHP version 5.2 and will be updated to support 5.3.

HipHop has been developed on CentOS and Fedora, building on other operating systems may not currently be functional. Support will be added as soon as its ready. At the moment, HipHop can only run on 64 bits systems.

External links

References








Got something to say? Make a comment.
Your name
Your email address
Message
Please enter the solution to case below
70+12=