Hip Hop Virtual Machine, engine for PHP by Facebook team will not target PHP 7, the most-recent major PHP release, but instead will focus on Hack, a PHP spinoff.
Trying to support both PHP7 and Hack would lead to undesirable compromises on both fronts. We plan to decouple ourselves even more from PHP, so that we can make Hack great without having to account for all of the oldest, darkest corners of PHP’s design. We want the freedom to make Hack even more performant, and ultimately make it the best web application language available.
Hip Hop team is working on some cool Hack-related features:
- Finishing up Hack arrays.
- Eliminating destructors.
- Eliminating references.
Learn more from official blog.
What is Hip Hop Virtual Machine?
HipHop for PHP is a source code transpiler created by Facebook. HipHop programmatically turns source code written in PHP into optimized C ++ code, and then uses the g ++ compiler to compile it. HipHop includes a code translator, an alternative implementation of the PHP runtime environment, and many of the most common PHP extensions that C has been rewritten to improve performance.
HipHop was created by the developers of the social network Facebook to save the resources of their servers. The source code was planned to be released on February 2, 2010 in the form of open source software. However, the release of the code was delayed due to problems with cleaning the source code from the Facebook-specific extensions. The project source code became available on February 20, 2010.