4 ms·
> "The JIT is currently developed on x86 and is based on Lua’s JIT. As Lua’s JIT supports ARM64, ..." I'm confused when they say it's based on LuaJIT? Do they
by tiffanyh 6y ago
> "The JIT is currently developed on x86 and is based on Lua’s JIT. As Lua’s JIT supports ARM64, ..."
I'm confused when they say it's based on LuaJIT? Do they mean PHP is being transcoded to Lua and run by LuaJIT.
Or do they mean that PHP-JIT is based on "DynASM" - which is a subproject of LuaJIT?
http://luajit.org/dynasm.html http://luajit.org/dynasm.html
- tyingq 6y agoYes, they are using DynASM. https://github.com/php/php-src/blob/master/ext/opcache/jit/README.md https://github.com/php/php-src/blob/master/ext/opcache/jit/R...