Why doesn't Roblox update to Lua 5.4.7?

Dear Devforum community,
As a Swift developer, I am curious as to why Roblox is using a version of Lua from 18 years ago? Version 5.1

Lua has had some new features ever since v5.1, with the latest release being v5.4.7

I am wondering why this is the case, and why Roblox refuses to update the platform to v5.4.7 and future versions.

Yes I know that Roblox modifies Lua with a proprietary language called LuaU, but doesn’t Github exist and couldn’t Roblox do git pull and git merge?

1 Like

tl;dr Lua can break stuff when it updates, Roblox tries not to.

one of the reasons i guess is on the latest version of lua i believe that they have removed the key word continue for example . and most games use this keyword for their game

Well i guess there is just no need to.

Lua 5.1 is a very reliable version which has been used for years and AFAIK Lua v5.4.7. has removed some old features from v5.1. Plus Roblox has removed many functions from debug library from Lua v5.1 or recreated them so people can use it on Roblox.

So in conclusion its just an unnecessary work to implement Lua v5.4.7. to Roblox LuaU because it can bring some bugs, misunderstandings, will probably take a lot of time and problems with compatibility with old places since Lua v5.4.7 removed some functions that was in Lua v5.1.

P.S. According to what ‘xxmanado’ said they removed ‘continue’ so they(Roblox team) will have to recreate it manually.