News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

HipHop Blog:
Faster and Cheaper The Evolution of the hhvm JIT
December 12, 2013 @ 12:09:35

On the HHVM (HipHop Virtal Machine) blog there's a new post that looks at the evolution of the HHVM JIT compiler since the project started about four years ago.

When the hhvm project was started almost 4 years ago, it had a two-part mandate: First, create a PHP JIT that could serve facebook.com at least as efficiently as hphpc, the PHP execution engine we were using at the time. Second, replace hphpi, the interpreter our PHP developers were using in their daily work. hphpc and hphpi were independent pieces of software with unintentional subtle differences in behavior and a significant maintenance burden. Unifying the execution engines used in production and development would make our jobs easier while giving the PHP devs a nicer experience at the same time.

The article goes on to talk about their needs from the environment and the basics of how the JIT compiler works to "translate" the code into something more low level than even C++. They chart out the performance of the HHVM versus the HPPC, showing a major growth around the end of the last year and continuing into this year. They also give an example of how this translation happens from a PHP script to bytecode to the translated result from their "TranslatorX64" tool.

0 comments voice your opinion now!
hhvm jit compiler justintime history hphpc facebook

Link: http://www.hhvm.com/blog/2027/faster-and-cheaper-the-evolution-of-the-hhvm-jit

blog comments powered by Disqus

Similar Posts

9Lessons.info: Facebook Style Tag Friends with Jquery, Ajax and PHP

Anthony Ferrara: An Opinion On The Future Of PHP

Edin Kadribasic's Blog: Second PHP build using the new compiler

DeveloperTutorials.com: Create a Facebook Application With PHP

SitePoint PHP Blog: A Look at Hack, the PHP Replacement in HHVM


Community Events











Don't see your event here?
Let us know!


symfony2 framework introduction release package hhvm code install unittest security example facebook podcast composer language hack application opinion component series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework