(no title)
kamac
|
5 years ago
Why would they create their own obscure solution? I imagine LUA is very easy to run sandboxed, but I can’t shake the feeling roblox would be better off integrating scripting with JS. It would come with powerful typing via typescript, a great tooling (along with a type checker), and a lot of resources available online.
samatman|5 years ago
Few who have used both would give it a second thought.
Roblox is immensely popular, has a wide install base and thousands of developers with code in Lua already.
Why throw all of that away for an inferior language?
tasogare|5 years ago
lifthrasiir|5 years ago
I have extensively used both languages for years and you haven't adequately answered my previous criticism [1].
> Why throw all of that away for an inferior language?
As if Lua (either the language, the implementation or the ecosystem) is not inferior.
> Roblox is immensely popular, has a wide install base and thousands of developers with code in Lua already.
This is probably the only reason to justify Luau, and shows yet another problem with the Lua ecosystem: they don't (or rather, can't) share their creations to each other. JavaScript is not a perfect language but the JS ecosystem has successfully converged into a single widespread set of solutions including TypeScript.
[1] https://news.ycombinator.com/item?id=24067362
wruza|5 years ago
Imo, the next language with a little stricter typing than both js and lua, which takes best parts of these and gets rid of bad practices, and with a typed version in mind, will be a big win for everyone.
rpastuszak|5 years ago
100% agree till here:
> Why throw all of that away for an inferior language?
I'd say "not the right tool for the job, given their target audience".
Saying that JS is inferior to Lua (Lua's great IK) isn't much of a productive comment—if they built their audience with JS, they wouldn't be pivoting to Lua because it has achieved superiority in the eternal language wars.
unchar1|5 years ago
But could you elaborate on why you think JS is an inferior language?
anonymoushn|5 years ago
unknown|5 years ago
[deleted]
kamac|5 years ago
saagarjha|5 years ago