A 10x Faster TypeScript
I’ll cut to the chase here:
To meet those goals, we’ve begun work on a native port of the TypeScript compiler and tools. The native implementation will drastically improve editor startup, reduce most build times by 10x, and substantially reduce memory usage. By porting the current codebase, we expect to be able to preview a native implementation of tsc capable of command-line typechecking by mid-2025, with a feature-complete solution for project builds and a language service by the end of the year.
Given the current meme of rewriting core JavaScript tools in Rust, Zig or Go, this comes both as no surprise and yet still very unexpected (TypeScript defines trends as much as it bucks them). Almost every single non-JS tool has not bothered to rewrite the typechecker because there’s just so much complex and semi-undocumented behavior that it’s not worth doing. But if the TypeScript team is doing it, it’s another matter altogether; they’re on the hook for this keeping compatibility with existing behavior.
🍿🍿🍿