21 ms·
I'm not so sure about Lua. I'm under the impression that it's primarily used as a scripting language for games and things like that. The language is small, it'
by actsasbuffoon 13y ago
I'm not so sure about Lua. I'm under the impression that it's primarily used as a scripting language for games and things like that.
The language is small, it's very fast as scripting languages go, and I've heard it's easy to integrate it with C and other languages. On the other hand, it has kind of weird syntax, breaks a lot of conventions (i.e. arrays are 1 indexed), and it's not a massively well known language.
JavaScript possesses a lot of the same benefits; it's a pretty simple language, boasts very impressive performance for a scripting language, and isn't very difficult to integrate with code written in other languages. As compared to Lua's downsides, it's a bit of a mixed bag. The syntax is immediately familiar to anyone whose used an Algol derivative, the language has some unpleasant quirks, but lots of developers are accustomed to them due to the language's substantial popularity.
I imagine Lua will still be a popular choice in 5 years, but I think it's going to lose some marketshare to JavaScript.