Re:PHP 7 at Tumblr
by progforlyfe on Thursday November 10, 2016 @05:36PM
(#12925191)
Yes, the next major performance improvements will come from a JIT style machine, similar to what HHVM does.
[ Parent
| on HN ]
Re:PHP 7 at Tumblr
by otto_ortega on Thursday November 10, 2016 @07:56PM
(#12926379)
I'm also confused. Php 7 has Opcache, which according to the documentation:
"OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request."
How would JIT features come into play with it?
Re:PHP 7 at Tumblr
by TazeTSchnitzel on Thursday November 10, 2016 @09:17PM
(#12926856)
Precompiled here means bytecode, not machine code. OPcache is similar to, say, Python's .pyc files.
I'm confused, so PHP 7 today does not have a JIT yet its performance is already on-par with HHVM (which has a JIT).
Are you then suggesting that PHP 8 (with a JIT) will be significantly faster than HHVM?
Re:PHP 7 at Tumblr
by TazeTSchnitzel on Thursday November 10, 2016 @09:18PM
(#12926864)
Not necessarily.
It may mean that a lot of HHVM's performance improvements were not related to JIT.