Skip to content
Sign upLog in
← Back to Community
Is there a Good Reason Why Lua is So Outdated?
Profile icon
samfierycreeper

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.

That makes Lua over 9 years out of date.

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.

Answered by ch1ck3n [earned 5 cycles]
View Answer
Voters
Profile icon
TheFireBlast
Profile icon
samfierycreeper
Comments
hotnewtop
Profile icon
ch1ck3n

i think the replit team is just too lazy to fix it

you can always just use nix to get the current version though https://docs.replit.com/programming-ide/getting-started-nix#learn-more-about-nix

Profile icon
samfierycreeper

@ch1ck3n
Thanks, I will have to look into that.

Profile icon
samfierycreeper

I created a Repl (using Nix as ch1ck3n had said) with Lua 5.4.3. The most up-to-date version as of writing this post. You can fork it here: https://replit.com/@samfierycreeper/Lua-543

Profile icon
samfierycreeper

Also I forgot to add, did I post this the correct spot?

Profile icon
ch1ck3n

@samfierycreeper
yes you did