3 ms·
Lua is pretty popular because it is a simple scripting language that you can either run in an interpreter, or compile to C. The interpreter is easily embeddable
by henrikschroder 17y ago
Lua is pretty popular because it is a simple scripting language that you can either run in an interpreter, or compile to C. The interpreter is easily embeddable, and you can call C functions from it. All of this makes for pretty rapid development without sacrificing speed for the things that it is suitable for.
- silentbicycle 17y agoJust a nitpick - Lua doesn't compile to C, but rather to Lua VM bytecodes that can be embedded as data in C code. Lua strikes me as a much nicer interface to C libraries.