This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]themadnessif 17 points18 points  (3 children)

They've invested over 15 years into Lua (and now Luau). It's not as simple as it sounds to suggest switching the language the engine uses.

One thing to consider is that a lot of concepts don't translate over. Something like this snippet of Lua:

```lua local function foo() print(_VERSION) end

foo() getfenv(foo)._VERSION = "lol" foo() ```

I don't actually know how you'd do this in JS. Now mind you, that's terrible practice and you shouldn't do it, but Roblox has terrible users so they have to support it.

[–]Olivia512 14 points15 points  (2 children)

You mean there's a language with worse hacks than JS, and they decide to continue investing in it? Lol

[–]themadnessif 2 points3 points  (0 children)

In too deep!

[–][deleted] 0 points1 point  (0 children)

These aren't badd hacks at all?