Source code for Lua 5.3
lua.org
lua.org
The performance improvements are incredible, and it allows you to write inline C code thanks to the FFI library (declaring it like this https://github.com/Mashape/kong/blob/master/kong/plugins/fil..., and invoking it like this https://github.com/Mashape/kong/blob/master/kong/plugins/fil...)
BTW, does anyone have recent benchmarks comparing LuaJIT against new versions of the Javascript JITs?
Too many developers are using Javascript in places where Lua would be a far more appropriate option. Embedding, especially.
2. JS has a somewhat broken notion of objects and Lua's implementation is far cleaner while being as powerful. How do you use a JavaScript object as a hashmap? The default try is a potential security hole.
I haven't got major experience in either language, but I find it much easier to read/understand/modify a moderately sized Lua project vs real world JavaScript code.
A popular version is http://yueliang.luaforge.net/, although it only supports old Luas (5.0 and 5.1).