tsc
tends to be the bottleneck in modern TS toolchains. Native compilers likeesbuild
andswc
are amazing, but they don’t perform type-checking, so you still needtsc
as part of your build process.
Would it be possible to speed up tsc
by opaquely compiling it from a JIT’ed JavaScript program into some more optimal format like WASM or native?
tsc
would have huge implications.