3 ms·
I mean Lua[1] exists, predates Javascript[2], is incredibly fast[3] and can be easily embedded[4]. I've personally shipped production game titles where the whol
by vvanders 7y ago
I mean Lua[1] exists, predates Javascript[2], is incredibly fast[3] and can be easily embedded[4]. I've personally shipped production game titles where the whole game state + logic was inside a 400kb block on a PSP where you only had 8MB of system ram, and this was before LuaJIT.
Sadly, developer familiarity and ecosystem/mindshare sometimes dominate technical constraints, at least that's how we ended up with Javascript everywhere.
[1] https://en.wikipedia.org/wiki/Lua_(programming_language) https://en.wikipedia.org/wiki/Lua_(programming_language)
[2] https://en.wikipedia.org/wiki/JavaScript https://en.wikipedia.org/wiki/JavaScript
[3] https://luajit.org/ https://luajit.org/
[4] https://github.com/vvanders/wasm_lua https://github.com/vvanders/wasm_lua