Microsoft Rewrites TypeScript Compiler in Go, Delivering Up to 12x Speed Gains
Microsoft released TypeScript 7.0 on July 8, 2026, replacing its longstanding JavaScript-based compiler with a native implementation written in Go, developed internally under the codename Corsa. The rewrite introduces no new language features; the sole focus is architectural, enabling native-code execution and true multi-threaded parallelism that the previous single-threaded Node.js runtime could not support. The team chose Go over Rust and C# primarily for its concurrency model and cross-platform native compilation, porting the existing compiler as faithfully as possible to maintain consistent type-checking results. Benchmarks show dramatic improvements: a full type-check of the VS Code codebase fell from over two minutes to roughly ten seconds, and language service startup dropped from 9.6 seconds to about 1.2 seconds. Memory usage also declined by an estimated 6 to 26 percent depending on project size, with Microsoft citing an overall 8x to 12x speedup on large real-world builds.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in