3 ms·
AFAICT, MoonJIT is just a fork of LuaJIT. Both support many 5.2 extensions. Additionally, MoonJIT also has a few Lua 5.3 extensions, but it is not fully compati
by spacechild1 6y ago
AFAICT, MoonJIT is just a fork of LuaJIT. Both support many 5.2 extensions. Additionally, MoonJIT also has a few Lua 5.3 extensions, but it is not fully compatible with Lua 5.3 or even Lua 5.2. Quote:
"Note: this provides only partial compatibility with Lua 5.2 at the language and Lua library level. moonjit is API+ABI-compatible with Lua 5.1, which prevents implementing features that would otherwise break the Lua/C API and ABI (e.g. _ENV)."
Some internal language changes in 5.3, like the new integer type, would require deep surgery in the JIT. This also seems to be the main (but not only) reason why Mike Pall doesn't have plans to ever support Lua 5.3. (https://www.reddit.com/r/lua/comments/2zutj8/mike_pall_luajit_dislikes_lua_53/ https://www.reddit.com/r/lua/comments/2zutj8/mike_pall_luaji...)
- bungle 6y agoYes, and OpenResty maintains their own fork [1] as well. [1] https://github.com/openresty/luajit2 https://github.com/openresty/luajit2
- blodorn 6y agoAm I wrong? I thought the author of LuaJIT has been pretty well over it for the last 5 years and no one else picked it up. LuaJIT had a beta release 3 years ago and hasn't been updated since.
- spacechild1 6y agoLooks like Mike Pall is still actively working on the project: https://github.com/LuaJIT/LuaJIT/commits/v2.1 https://github.com/LuaJIT/LuaJIT/commits/v2.1 The last commit is from 5 days ago.