goblox

Oct 2026 – Present · Go, TypeScript, luau, roblox-ts

www.npmjs.com · github.com

Native Go port of the roblox-ts compiler (TypeScript to Luau), built on typescript-go, the native TypeScript 7 compiler. It's a drop-in replacement for rbxtsc: same flags, same tsconfig.json, same Luau output.
rbxtsc builds of my games kept getting slower, so i ported the compiler. A 40 second build of Zomvival (~500 files) now takes 5 seconds, and an edit rebuilds in under a second.

Features

  • ~8x faster fresh builds than rbxtsc and up to 36x faster rebuilds, with ~25% less memory
  • Incremental builds that only recompile the files a change can reach, and skip comment-only edits
  • Watch mode: ~0.6 s from saving a file to "Found 0 errors"
  • Same output as rbxtsc: 73/73 transform fixtures byte for byte, 874/874 runtime specs under Lune, 169/169 diagnostic fixtures
  • @typetorch/transformer ported to Go, running in-process and in parallel across files
  • Prebuilt native binaries for Windows, macOS and Linux on npm, and TypeTorch uses it automatically

Available on npm here.