Facebook’s VM for PHP is now running code faster than the code compiled to C++.
Here at Facebook, the HipHop team constantly strives to improve the efficiency of PHP execution and increase productivity for our PHP developers. In late 2011 we announced that we were pursuing a just-in-time (JIT) compilation approach called HipHop VM (HHVM) as a successor to the HipHop PHP-to-C++ compiler (HPHPc). The goals of the HHVM project are two-fold: build a production-ready virtual machine that delivers superior performance, and unify our production and development environments.
Below is an update on the state of HipHop VM, followed by a deep dive into some details on HHVM’s architecture and optimization strategies.