Re:PHP 8 to Add a JIT
by readittwice on Sunday March 31, 2019 @04:33PM
(#19538180)
True, however I would argue that having an IR in general makes the code easier to understand and maintain. Especially if you add more optimizations.
> use DynAsm (developed for LuaJIT project) for generation of native code
But at the very least, this exercise will ensure that DynAsm will be actively used by a few people. So even if this PHP JIT effort fails, the underlying JIT technology will be more widely understood and hopefully better documented for other projects.