Hacker News new | ask | show | jobs
by cloudmike 975 days ago
I use Luau in my games and tools [1], and I recommend it. While I can't speak to transitioning to it from Lua, since I didn't do that, I can say that it's fast, stable, sandboxing just works (important for your use case), and it's very well supported and regularly updated.

For context, I first started using Luau as an experimental hack by integrating it with Unity. I mostly just wanted fast and simple hot reloading. I found myself writing more and more of it, and now I'm writing most of my code in it.

VS Code support is pretty good via the luau-lsp language server [2]. Type support for certain code patterns isn't great yet, but there are RFCs to improve this.

They're also quietly working on native code gen and JIT support, e.g. this PR from a few hours ago [3].

Overall, recommended! You're not crazy.

[1] https://twitter.com/kineticpoet

[2] https://github.com/JohnnyMorganz/luau-lsp

[3] https://github.com/Roblox/luau/pull/1076

1 comments

Great feedback thanks! Most devs in my team are using VS Code, but apparently there are integration for Sublime Text too (which I use).

Thanks for the links, I'll check them out later today!