4 ms·
The Hack HHVM JIT is typically more performant than standard PHP 7. However, that is more of an apples to oranges comparison of JIT vs Non-JIT than Lang to Lang
by tylerjwilk00 7y ago
The Hack HHVM JIT is typically more performant than standard PHP 7. However, that is more of an apples to oranges comparison of JIT vs Non-JIT than Lang to Lang comparison.
That said, PHP 7 has squeezed most of the performance from the language and the low hanging fruit is gone.
However, PHP 8 looks to bring a standard JIT to PHP [1]. I'd guess that once that happens Hack / HHVM may no longer have any advantage.
[1] https://hub.packtpub.com/php-8-and-7-4-to-come-with-just-in-time-jit-to-make-most-cpu-intensive-workloads-run-significantly-faster/ https://hub.packtpub.com/php-8-and-7-4-to-come-with-just-in-...
- judge2020 7y agoJust to add (you didn't say otherwise), PHP on HHVM is EoL'd https://hhvm.com/blog/2018/09/12/end-of-php-support-future-of-hack.html https://hhvm.com/blog/2018/09/12/end-of-php-support-future-o....
- tyingq 7y ago"PHP on HHVM is EoL'd" True that you shouldn't expect large existing PHP projects to run. But, the syntax is close enough that for net new projects, it's essentially PHP.