News 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

IBuildings techPortal: Profiling with XHProf

Dougal Campbell: WordPress 10th Anniversary Blogging Project

Pingdom.com: Exploring the software behind Facebook, the world’s largest site

PHPBuilder.com: Oauth Authentication for Social Apps in PHP

SitePoint PHP Blog: Social Logins in PHP with HybridAuth


Community Events

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


interview php7 xdebug library framework voicesoftheelephpant unittest version introduction example series community install podcast language release laravel opinion extension api

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