By now everyone in the PHP community - and most technical leads at companies who rely on PHP - should have heard about Facebook's revolutionary new open source tool, HipHop. HipHop,
like PHP itself, stands the chance of being a serious game changing technology. Their stated goal was to allow their developers to continue to enjoy the speed of development that PHP gives them while improving the overall performance of their application by transforming it into C++. The resulting "transformed and compiled" application can consume up to 50% less CPU resources than the native PHP application.
There have been attempts in the past to create a PHP compiler to try and improve its speed. There are two points that set HipHop apart from the pack though.
- First, HipHop does not attempt to compile PHP. It reads PHP code and writes C++ code that is then compiled. The distinction is very important.
- Second, unlike other projects, this one is actually being used in production on one of the largest web sites on the Internet.