Turns out TypeScript is not the best language to make command line tooling, such as a TypeScript compiler, if you are even remotely performance conscious.

Shocking, I know.

@zeux I'd also be very curious about the differences in memory use (both are GC'd, but I strongly suspect the Go version is going to be rather less hash-tastic)
@rygorous Looks like tsgo has ~3x smaller RSS give or take on a couple small projects.

@zeux Well both are fast. So what's the issue.

time pnpm exec tsc -b --noEmit
pnpm exec tsc -b --noEmit 3.70s user 0.22s system 211% cpu 1.855 total

time pnpm exec tsgo -b --noEmit
pnpm exec tsgo -b --noEmit 1.25s user 0.21s system 294% cpu 0.496 total

Oh. Maybe you're right.

@bart @zeux Faster compilation speed is almost always desirable imo, especially since web people are really adapted to hot-reloading workflows
@zeux Finally, my shitpost programming language in TypeScript's type system can run faster.