Fundamentals 6 min read

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.

Full-Stack Cultivation Path
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Go‑Rewritten TypeScript 7 Delivers Up to 10× Speed Boost

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 -b

The 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
--watch

Project 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/
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

performanceTypeScriptCompilerGoNative Previewtsgo
Full-Stack Cultivation Path
Written by

Full-Stack Cultivation Path

Focused on sharing practical tech content about TypeScript, Vue 3, front-end architecture, and source code analysis.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.