Skip to content
nareshv edited this page May 17, 2013 · 65 revisions

HipHop VM (HHVM) is a new open-source virtual machine designed for executing programs written in PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. HipHop VM (and older versions of HipHop before it) has realized > 5x increase in throughput for Facebook compared with Zend PHP 5.2.

For the latest news about HipHop VM, find us on Facebook and check out our WordPress blog.

Why HipHop VM (HHVM)

One of the explicit design goals leading into HipHop VM was the ability to continue writing complex logic directly within PHP. Companies with large PHP codebases will generally rewrite their complex functionality directly as PHP extensions in either C or C++. Doing so ends up reducing the number of people who are able to work on the company’s entire codebase. By keeping this logic in PHP, Facebook is able to move fast and maintain a high number of engineers who are able to work across the entire codebase.

Installing pre-built packages for HHVM

Prebuilt packages for some distributions are available as shown below:

Building HHVM

HipHop is currently under heavy development and at present we only actively test on the Ubuntu distribution. Building procedures should be fairly similar on other linux distros, and support for FreeBSD and Mac OS X will be coming shortly.

Here are some guides for how to get HipHop VM up and running on your distro:

Discussion and support

You can discuss HipHop for PHP and report bugs on our Facebook page, submit a ticket or Pull Request here on github, or check out the HipHop for PHP Blog. Note that the old Google Group HipHop developer mailing list is no longer active.

The wiki content is licensed under Creative Commons Attribution-ShareAlike License