Motivating Question

tsc tends to be the bottleneck in modern TS toolchains. Native compilers like esbuild and swc are amazing, but they don’t perform type-checking, so you still need tsc 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?

Notes

Projects

tyty