5 ms·
> Even so, I understand LuaJIT had to drop some Lua features to get there. Not true. LuaJIT is complete Lua. The difference, besides being jitted are: having p
by etiene 9y ago
> Even so, I understand LuaJIT had to drop some Lua features to get there.
Not true. LuaJIT is complete Lua. The difference, besides being jitted are: having parts written in assembly, super optimisations and things like FFI which cannot be written in C89. Main Lua uses nothing but C89 which makes it run on almost anything so this is not the case for LuaJIT. Also vanilla Lua is way smaller and the source code is cleaner simpler. Divergence in the language is not because LuaJIT dropped some features but because it was created while Lua was on version 5.1. Now Lua is on 5.3 and LuaJIT didn't catch up on everything yet, it is basically 5.1 compatible with some sprinkles of 5.2.