← All notes
TypeScript

TypeScript 7 rewrites the compiler in Go — and builds 10× faster

DV
Daan VisserJuly 20, 2026 · 3 min read

TypeScript 7.0 is here, and it is more than a regular release: Microsoft has rewritten the entire compiler in Go. After nearly three years of work, the TypeScript toolchain no longer runs on a JavaScript-written runtime — it compiles to native code that runs directly on the processor. The result is type checking that is on average ten times faster than version 6, and even more on large codebases.

Why Go?

The team wanted a language that compiles to native code, works cross-platform without friction, and sits close enough to JavaScript in syntax that the codebase stays portable. Go delivers on all three. The full compiler, language server and toolchain have been ported — no half-measures. Shared memory and multithreading handle the rest: the parallel type checking that used to be too expensive to enable by default now runs on by default.

What you will actually notice

The VS Code codebase — a serious benchmark for large TypeScript projects — previously took over two minutes to type-check. With TypeScript 7 that drops to ten seconds. At Slack, a full type check could not run locally at all and had to be offloaded to CI; now it fits on the developer's machine. For smaller projects the gains are more modest but still real: autocomplete that wakes up faster, refactors that finish sooner, an editor that stutters less on heavy files.

Our take

This is a change you feel while you type, not just when you track the changelog. Faster type checks lower the friction on every edit-save cycle — and that adds up across a working day. The language itself has not changed; the experience of writing it has. For teams already on TypeScript, upgrading is a straightforward call once the ecosystem has caught up.

Thinking about a build?Compile your idea →