As described in the announcement itself and in the RFCs on the subject, the long-term goal is to standardize the behavior of require in Luau to function the same across platforms. Luau is embedded in Roblox, but it’s also available as a standalone programming language, and is increasingly being embedded in other game engines. By defining a standard for how require works, we’re working towards a future where Luau code can be written in a runtime-agnostic way and be used in any of those environments. Essentially, this is part of a larger effort to make Luau itself a more consistent programming language in the interest of growing a healthy open source ecosystem around the language.
45 Likes