TypeScript 7.0: Go-Rewritten Compiler Delivers 12x Speedup, Halves Memory
TypeScript 7.0 rewrites its compiler in Go, enabling multi-threaded type checking and shared memory, cutting VS Code codebase type-check time from 125.7s to 10.6s (12x faster) and reducing memory usage by half, eliminating editor lag in large projects.
Reading font

TypeScript 7.0: Compiler Rewritten in Go
After fourteen years of the TypeScript compiler being implemented in TypeScript itself and running on Node.js in a single thread, TypeScript 7.0 replaces it with a native Go implementation. The original compiler's type-checking times had grown from seconds to minutes, often becoming the longest step in CI pipelines.
Why Go?
The team chose Go for its mature garbage collection, concurrency model, easy deployment, and cross-platform builds. The new implementation enables true multi-core utilization: different phases of type checking can proceed in parallel, and structurally identical memory can be shared, avoiding the overhead of moving a massive syntax tree around.
Performance Gains
Memory usage reduced by half.
Type-checking time on the VS Code codebase dropped from 125.7 seconds to 10.6 seconds — a nearly 12× speedup.
Large repositories that previously caused fans to spin and editors to freeze now complete with ample headroom.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.