LuaJIT is such an amazing just-in-time compiler, faster than the traditional Lua compiler, supported on many platforms and used everywhere where speed and performance are a priority.<p>For example it's being used in Redis to provide Lua scripting, and can also be used with nginx (OpenResty). While developing Kong (<a href="https://github.com/Mashape/kong" rel="nofollow">https://github.com/Mashape/kong</a>) we noticed that LuaJIT provided substantial performance improvements.<p>I hope that the recent step down of the main committer won't affect the future of the project [1].<p>[1] <a href="http://www.freelists.org/post/luajit/Looking-for-new-LuaJIT-maintainers" rel="nofollow">http://www.freelists.org/post/luajit/Looking-for-new-LuaJIT-...</a>
Lua is such a fantastic language for embedding.<p>I've seen entire game logic done in 200kb on platforms that had less than 32mb of total CPU memory.
The author informs that the stack is "difficult bit to wrap your head around first", then makes a bizarre statement "Once again – pushed values are indexed with negative, function arguments with positive numbers." This is not correct, you can use positive or negative indexes in either case. Positive indexes are absolute and negative are relative to the top of the stack.