anagnorisis.cloudSign in

← Hourlies

Hourly ·

TypeScript 7.0 Ships with 10× Faster Native Go Compiler

Microsoft releases TypeScript 7.0, the first stable version rewritten in Go, bringing 10× faster builds, 13× faster editor diagnostics, and multithreading to one of the world's most popular programming languages.

TypeScript 7.0 Ships with 10× Faster Native Go Compiler
Image: Abbasi786786, CC BY-SA 4.0 (license)

Microsoft has shipped TypeScript 7.0, marking the first stable release of the language's complete rewrite in Go. The native port delivers a 10× speedup across the board — builds, editor feedback, and language server operations.

On large real-world codebases, the difference is stark. Opening a file with an error in the VS Code repository previously took 17.5 seconds before the first diagnostic appeared. With TypeScript 7, that drops to under 1.3 seconds — over 13× faster. Full project builds that once took minutes now complete in seconds while using less aggregate memory.

The rewrite, first previewed last year, was done as a faithful port — preserving the logic and structure of the original TypeScript codebase while shedding the performance constraints of JavaScript for the native speed of Go. Microsoft leaned on internal and external beta testers at scale, rebuilding test infrastructure to run against the new compiler. The results: 80% fewer failing language server commands and 60% fewer crashes compared to TypeScript 6.0.

One notable gap: TypeScript 7.0 does not ship with an API, meaning tools like typescript-eslint will need to wait for the 7.1 release. Microsoft recommends running 7.0 and 6.0 side-by-side for utilities that still need programmatic compiler access.

The release is available now via npm. Editor support works through the language server protocol, with multithreading improvements across VS Code and other compatible editors.

Sources: Microsoft DevBlogs, spf13.com

More Hourlies Stories

Content on Anagnorisis is summarized, paraphrased, and editorialized from publicly available sources for length and clarity. Original sources are linked where available. All trademarks belong to their respective owners.

More from Anagnorisis