Go‑Rewritten TypeScript 7 Delivers Up to 10× Speed Boost
Microsoft’s Project Corsa rewrites the TypeScript compiler in Go, achieving a ten‑fold performance increase, halving memory usage, adding native multithreaded builds, and providing a stable Native Preview that developers can adopt today, while outlining the roadmap toward instant‑build compilation.
Project Corsa: TypeScript 7 native rewrite in Go
Microsoft announced that the TypeScript 7 compiler and language service have been completely rewritten in Go under the codename Corsa . The rewrite targets a modern, high‑performance, parallel and extensible native compiler.
Background: JavaScript self‑bootstrapping compiler
Since its 2012 release the TypeScript compiler was written in TypeScript, compiled to JavaScript, and executed on Node.js. This architecture introduced single‑threaded execution, garbage‑collection pauses and high memory consumption, which became a performance ceiling for large codebases.
Native rewrite components
Scanner (lexical analysis)
Parser (syntax parsing)
Binder
Checker (type checking)
Emitter
Language Service
Project System
Performance results
VSCode project: TS 6 = 89 s → TS 7 = 8.7 s (10.2× faster)
Sentry project: TS 6 = 133 s → TS 7 = 16 s (8.2× faster)
TypeORM project: TS 6 = 15.8 s → TS 7 = 1.1 s (9.9× faster)
Memory usage drops by more than 50 %, native multithreaded builds are supported, and the incremental cache is smarter and more responsive.
Migration to the native compiler (tsgo)
npm i -D @typescript/native-preview
npx tsgo -bThe VS Code extension "TypeScript Native Preview" provides faster completion, near‑zero latency for go‑to definition, instant find‑references and smooth rename operations.
--build --incremental --watchProject References support
Recommended migration workflow: use tsgo for daily development while keeping tsc for the emit phase until full migration is complete.
Deprecation of TypeScript 6.0
TypeScript 6.0 is the last version built on a JavaScript compiler.
No 6.1 release will be issued.
Future 6.x releases will contain only security fixes.
TypeScript 7 will become the main line in the first half of 2026.
Future roadmap for TypeScript 7
Parallel type checking across multiple files.
Parallel builds across projects.
High‑performance shared incremental cache.
ES2015/ES2017 support expected in 2026.
Decorator emit support.
Faster cross‑repository reference resolution.
Drop support for ES5/ES3 and older targets.
Reference
Official announcement:
https://devblogs.microsoft.com/typescript/progress-on-typescript-7-december-2025/Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Full-Stack Cultivation Path
Focused on sharing practical tech content about TypeScript, Vue 3, front-end architecture, and source code analysis.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
