Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
matheusmoreira
· 5mo ago · 0 comments
Looks like LuaJIT is really going to fork away from Lua this time. After these changes, it won't be a compatible Lua 5.1 implementation anymore, it will be a new language.
So shouldn't it have a new name?
Comments
[–]
orthoxerox
5mo ago
Why won't it be compatible? Any code written in Lua 5.1 will run on LuaJIT.
[–]
matheusmoreira
OP
5mo ago
But not the other way around.
[–]
orthoxerox
5mo ago
LuaJIT has always been a superset of 5.1.
[–]
matheusmoreira
OP
5mo ago
Which is why it should be a new language. Like C and C++.
[–]
ulbu
5mo ago
well, it doesn’t say Lua5.1-JIT
[–]
a_t48
5mo ago
It could be opt in.
[–]
sourcegrift
5mo ago
Are there any rough estimates on popularity of lua implementations? At this point it feels lua means luajit
[–]
latenightcoding
5mo ago
not even close, because there are a lot of places where you can't run LuaJIT
[–]
tuvix
5mo ago
Where can you not run LuaJIT? Genuinely curious
[–]
extrememacaroni
5mo ago
anywhere that does not allow self modifying code such as app stores.
[–]
Boxxed
5mo ago
Wasm and platforms like iOS and Nintendo Switch (I think).
[–]
Dylan16807
5mo ago
LuaJIT is not just a JIT, it also includes high speed interpreters for x86, Arm, and more.