Is there a Good Reason Why Lua is So Outdated?
According to lua.org (Lua's official website). Lua 5.1.5 (the version of Lua that Replit has) was released on 17 Feb 2012.
The newest version of Lua is 5.4.3 which was released 29 Mar 2021.
In the last 9 years, Lua has received many new features and they have improved many of the old ones.
Some features that I haven't been able to use for Lua on Replit are:
- the math.type() function. Which distinguishes between integers and floats. There are obviously other ways to determine between integer and float but a built-in function for things is always nice.
- the goto() function, which I have never used but I have wanted to try out in Lua.
- A few bug fixes (although I can't complain this, because I haven't encountered any of the bugs from old Lua)
I mean Lua not being updated isn't the end of the world and its mostly the same as the newest version, but Replit would be even better if it were updated.
For those of you who are curious about Lua's versions, you can see a list of them on Lua's site and some of the things that were added and fixed in the updates: https://www.lua.org/versions.html.
If this never gets fixed I could always learn Python. :D, which everyone says is better than Lua.