What exactly is typed lua?

i was looking at the roblox platform high-level roadmap and i noticed that there was something on beta called “typed lua” and i’ve struggled to find out what typed lua is. so my question is, what exactly is typed lua anyway? thanks in advance!

2 Likes

Statically typed Lua. Statically typed languages enforce type safety at compile time as opposed to runtime. A lot of bugs related to type mismatches (e.g passing a string to a function that expect a number) happen in dynamically typed languages but programmers are only told of this at runtime. But in a statically typed language you are told in advance before you even execute your code which is epic

2 Likes

oh wow that actually sounds real epic lol. can’t wait for that to come out of beta

The entirety of typed Lua (or “Luau” as it is now called, see: image) will be epic.
It even will allow for custom “types” to be made which allows for more robust programs. If you are interested in knowing more there are several posts about it.