Ask coding questions

← Back to all posts
Is there a Good Reason Why Lua is So Outdated?
samfierycreeper (8)

According to (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:

If this never gets fixed I could always learn Python. :D, which everyone says is better than Lua.

Answered by ch1ck3n (2866) [earned 5 cycles]
View Answer
ch1ck3n (2866)

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

you can always just use nix to get the current version though

samfierycreeper (8)

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

samfierycreeper (8)

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:

samfierycreeper (8)

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