Lua to me is the language JavaScript wishes it was. It’s super minimal and actually designed reasonably well. It knows what it is and isn’t trying to be something else. I wouldn’t want to try to write an entire app in it, but for a scripting language embedded in something else there’s not a lot of languages I’d rate higher.
Lack of advanced features like generics and a weak type system (although still better than JavaScripts type system). Its library ecosystem is also pretty anemic because it’s generally assumed if you’re writing Lua it’s as part of a script embedded in something else and most of those won’t let you pull in random Lua libraries. There are stand alone Lua interpreters that let you run Lua on its own but most people writing Lua code aren’t using them and so the community to develop a rich library ecosystem isn’t really there like it is in most other languages.
Lua to me is the language JavaScript wishes it was. It’s super minimal and actually designed reasonably well. It knows what it is and isn’t trying to be something else. I wouldn’t want to try to write an entire app in it, but for a scripting language embedded in something else there’s not a lot of languages I’d rate higher.
depends on how you define an app – Freewheeling Apps likes to combine Lua and LÖVE to make quick little GUI apps
This might sound silly but why would you not want to write an app with it? Like, what are its limitations? I know very little about Lua
Lack of advanced features like generics and a weak type system (although still better than JavaScripts type system). Its library ecosystem is also pretty anemic because it’s generally assumed if you’re writing Lua it’s as part of a script embedded in something else and most of those won’t let you pull in random Lua libraries. There are stand alone Lua interpreters that let you run Lua on its own but most people writing Lua code aren’t using them and so the community to develop a rich library ecosystem isn’t really there like it is in most other languages.
I see. That makes sense, thanks for explaining