Microsoft today surprisingly announced a new change that will radically improve the performance of TypeScript. The team is developing a native porting of the TypeScript compiler and tools in the Go language. The native porting project is codenamed "Corsa".
Based on developer feedback, Microsoft found that TypeScript did not scale to large code bases. Developers face issues such as slow editor startup times and incomplete source code views. The new native Go implementation will significantly improve editor startup, shorten build times by up to 10 times, and significantly reduce memory usage.
Developers can expect the following performance improvements:
Microsoft expects this native port to be previewed in mid-2025, along with tsc capable of command line type checking. A full-featured solution for project building and language services will be released by the end of this year. Interested developers can now build and run Go code from the new working repository.
Microsoft recently released TypeScript 5.8, and TypeScript 5.9 will be released soon. Developers can expect that TypeScript 6.0 will have some deprecations and breaking changes to support the upcoming Go-based version. Later this year, Microsoft will release a new native Go implementation as TypeScript 7.0.
The current JS-based TypeScript codebase will continue to be developed for the 6.