HHVM: Difference between revisions

776 bytes added ,  11 months ago
no edit summary
(Created page with "{{Cquote|Facebook was and is a kind of overgrown LAMP stack app. You had Linux Apache, MySQL and PHP. But the thing that was really getting our attention was that we were burning a ton of CPU executing this PHP. We needed to do something to reduce the CPU cost of running the site on PHP. HPHP was a project that was started initially by Haiping Zhao, but significant team grew up around Haiping to do this. HPHP took a PHP source base's input and tried to produce a semant...")
 
No edit summary
 
Line 8:
 
So HipHop had been sort of released as an actual project. And me, Jason and Drew started talking about something -- that eventually before it had an real identity -- we called the HipHopVM.|||Keith Adams (2019) [https://softwareengineeringdaily.com/2019/07/15/facebook-php-with-keith-adams/ Facebook PHP with Keith Adams] Software Engineering Daily}}
 
{{Cquote|Due to lenghty compile times, the next iteration was the HipHop Virtual Machine - HHVM. The HHVM is a just-in-time (JIT) compilation execution engine. This was initially based off a hackathon project to compile PHP into Javascript so that it could run on the V8 JavaScript runtime engine. However, there were problems. PHP uses counters for garbage collection and V8 uses tracing. In the end the team decided to write their own JIT compiler, birthing HHVM. This also ended up in the creation of Hack, a derivative of PHP that supports static typing, generics and more.||| Matt Glaman (August 16, 2019) [https://mglaman.dev/blog/interesting-history-scaling-php-and-birth-hhvm-and-hack Interesting history on scaling PHP and the birth of HHVM and Hack] mglaman.dev}}