|
|
|
|
|
by charlieflowers
4915 days ago
|
|
What do you mean by "...as the domain tool it is, and not the prepackaged broad-spectrum scripting language..."? I haven't used Lua yet, but reading about it led me to believe it was a "broad-spectrum scripting language". I'd like to understand the distinction you're making more deeply. |
|
Then there's Lua-the-implementation(s) (PUC + LuaJIT), both of which are designed from the start to be maximally easy to embed in a host C program, or to delegate work to shared libraries written in C. In my opinion, it is an order of magnitude better at this than Python or Ruby; some of this is a matter of taste but I believe most of the advantages are objective.
Not to put words in the GP's mouth, but I take the "domain tool" comment to mean: "You really should try to use this in close cooperation with C, and not just as a stand-alone language. If you don't you'll miss a significant portion of the value." Note that using it in concert with C need not be done in a single person's head (though this case is also common); Lua+C is an extremely productive way for a systems programmer and an applications programmer to work in harmony while enjoying most of the best of both worlds.