> All the Lua 5.x versions that I have seen have small compatibility issues, and that's why many projects stick with what it's compatible with 5.1 only.
But you see how "why isn't Lua more popular" is answered with that? Do I start with 5.5? 5.3 and below seems is EoL already per the official site, they only have 5.4 bug fixes. It's a bit like C++ I guess, use only a small subset of features perhaps?
> C++ doesn't have any "native json support" either, and that's fine.
Unlike C++ Lua posits itself as an easy data representation and configuration language but it doesn't have a built-in way to load one of the most popular serialization formats out there these day.
> Different features hit differently to different people.
Definitely, I am just explaining why it doesn't appeal to me and the reason I heard other people didn't start or continue using it.
Oh, I definitely agree that the issues of version compatibility are a problem for wider adoption. I have written a few small Lua projects, and I always struggle to decide which versions to support.
If it had a few changes and perhaps some optional additions (while keeping a "classic" or "standalone" version), it would probably be more popular.
> Unlike C++ Lua posits itself as an easy data representation and configuration language but it doesn't have a built-in way to load one of the most popular serialization formats out there these day.
But that's the thing: if you want to represent data or configure something, wouldn't you prefer to do it in Lua? Seems the history of the language was using Lua syntax for the data representation, which is a bit more convenient than JSON for a few schemas. JSON is useful for interoperability, but it's far from my favorite for making a configuration file. The next project I'm working on is a small Lua script that will let the user configure itself via Lua, because that's more convenient than a static config format.
But you see how "why isn't Lua more popular" is answered with that? Do I start with 5.5? 5.3 and below seems is EoL already per the official site, they only have 5.4 bug fixes. It's a bit like C++ I guess, use only a small subset of features perhaps?
> C++ doesn't have any "native json support" either, and that's fine.
Unlike C++ Lua posits itself as an easy data representation and configuration language but it doesn't have a built-in way to load one of the most popular serialization formats out there these day.
> Different features hit differently to different people.
Definitely, I am just explaining why it doesn't appeal to me and the reason I heard other people didn't start or continue using it.