4 ms·
I don't understand what your concern is. Lua is a relatively modern script language. It has all the tools you need to create modular programs in whatever styl
by ansible 10y ago
I don't understand what your concern is.
Lua is a relatively modern script language. It has all the tools you need to create modular programs in whatever style you like. Imperative is easy, OO style nearly so (there are plenty of OO implementations to choose from), and there is even some support for functional programming.
The PUC-Rio (main) implementation has a fast bytecode interpreter, and LuaJIT is wicked fast compared to just about anything else.
People don't tend to write really huge applications in Lua, but that is more due to the lack of libraries rather than anything else.
- vvanders 10y ago> People don't tend to write really huge applications in Lua, but that is more due to the lack of libraries rather than anything else. We used it to write almost all the game-logic on a few titles. Ran great on all sorts of platforms(this was before LuaJIT). Coroutines are awesome for AI, lets you bundle in all sorts of implicit state easily and concisely.