3 ms·
Why wouldn't you be able to use this with LuaJIT? I thought LuaJIT was just a compiler for the Lua language.
by Kiro 7y ago
Why wouldn't you be able to use this with LuaJIT? I thought LuaJIT was just a compiler for the Lua language.
- ourlordcaffeine 7y agoLuaJit only conforms to Lua 5.2, so new features in Lua 5.4 would not work
- fullstop 7y agoLuaJIT is an entirely different VM. It is binary compatible with Lua 5.1.x modules (shared libraries) and can run most Lua 5.1 and 5.2 code. A good amount of the 5.2 changes, specifically those which do not break 5.1 code, have been added to the VM.
- vanderZwan 7y agoLuaJIT officially supports up to Lua 5.1.x, mainly due to Mike Pall not liking all changes to the language that followed https://www.freelists.org/post/luajit/Port-bitop-to-53,1 https://www.freelists.org/post/luajit/Port-bitop-to-53,1