upvote
Why won't it be compatible? Any code written in Lua 5.1 will run on LuaJIT.
reply
But not the other way around.
reply
LuaJIT has always been a superset of 5.1.
reply
Which is why it should be a new language. Like C and C++.
reply
well, it doesn’t say Lua5.1-JIT
reply
It could be opt in.
reply
Are there any rough estimates on popularity of lua implementations? At this point it feels lua means luajit
reply
not even close, because there are a lot of places where you can't run LuaJIT
reply
Where can you not run LuaJIT? Genuinely curious
reply
Wasm and platforms like iOS and Nintendo Switch (I think).
reply
anywhere that does not allow self modifying code such as app stores.
reply
LuaJIT is not just a JIT, it also includes high speed interpreters for x86, Arm, and more.
reply