21 ms·
coroutines in lua a great for game development. Also the reference, luajit and one more commercial that I've seen are all based on Lua state object, rather than
by malkia 13y ago
coroutines in lua a great for game development. Also the reference, luajit and one more commercial that I've seen are all based on Lua state object, rather than global data (python?).
And luajit is more alien technology than common lisp :)
- da02 13y agoWhen you say "alien tech", do you mean "highly advanced" or "very different/hard to understand"?
- spc476 13y agoIt just works (for code written to Lua 5.1; it's about 95% compatible with Lua 5.2, which changed how modules work) and can pretty much replace Lua (either the standalone executable, or linking it as a library). The "alien tech" probably comes from how it works, converting Lua to native code. I can't say how difficult to understand, since I haven't really looked into the internals, but from what I understand, Mike Pall created a new way of looking at assembly language as part of LuaJIT.
- da02 13y agoThanks! It's also amazing how he did it with little resources compared to other projects.
- malkia 13y agoIt was a pun on Common Lisp (great language btw) - http://lisperati.com/logo.html http://lisperati.com/logo.html But then after seeing LuaJIT2 I think there was something even more alien. It made me understand that I don't know programming very well after seeing what Mike Pall did there.