HipHop Virtual Machine for PHP

  • By :
  • Category : Video

Facebook Software Engineer and HipHop for PHP team member Jason Evans provides details on Facebook’s move to a new high-performance PHP virtual machine. Described by Evans is ”a new PHP execution engine based on the HipHop language runtime that we call the HipHop Virtual Machine (hhvm).” He sees it as replacement for the HipHop PHP interpreter (hphpi). He continues:
We have long been keenly aware of the limitations to static analysis imposed by such a dynamic language as PHP, not to mention the risks inherent in developing software with hphpi and deploying with hphpc. Our experiences with hphpc led us to start experimenting with dynamic translation to native machine code, also known as just-in-time (JIT) compilation … we developed a high-level stack-based virtual machine specifically tailored to PHP that executes HipHop bytecode (HHBC). hhvm uses hphpc’s PHP>AST implementation and extends the pipeline to PHP>AST>HHBC.
He estimates the hhvm bytecode interpreter is approximately 1.6X faster for certain Facebook-specific benchmarks, with still better performance in the offing. But, as described in his blog post on the PHP compilation innovations, there is still work ahead. You can view HipHop-related information at GitHub.

Source: http://lslink.info/?c=NfN

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Video
Two Sex Educators On Confronting Taboo Topics In The Classroom

Hundreds of miles apart, educators Emily Feher and Melanie Lucash aren’t shying away from sticky subjects. Source: http://lslink.info/?c=22Yt

Video
Mobile ‘PUBG’ ‘Guns Royale’ Has Launched

Guns Royale [Free] isn’t shy about its inspiration; it wants to bring to mobile the same experience that Playerunknown’s Battlegrounds brought to PC, but tailored to the mobile platform, and now that the game has launched worldwide, you can try it out for yourself. The game has you dropping in a …