Microsoft · Google · The Register
Speedier type checks in TypeScript 7.0 as first stable Go release publishes
Compiled by KHAO Editorial — aggregated from 1 source + 4 references discovered via search. See llms.txt for citation guidance.
◌ Single Source
10X faster build times could force Slack developers back to their keyboards.
Key facts
- In Microsoft benchmarks, compiling VScode, with its 2.3 million lines of code, took TypeScript 6 125 seconds
- TypeScript 7 brings native code speed, shared memory multithreading, and several new optimizations that typically yield speedups between 8x and 12x on full builds,” wrote Microsoft Principal Product
- TypeScript 7 (they're told) also made short work of other source code behemoths, including Sentry (1.9 million lines of code in 15.7 seconds), Bluesky (628,000 lines in 2.8 seconds), and Playwright
- There were several additional reasons to choose Go, explained TypeScript development team lead Ryan Cavanaugh, in an FAQ discussion entitled “ Why Go
Summary
The Microsoft-led TypeScript 7.0 features an order-of-magnitude speed boost, a victory not only for TypeScript itself but also for Go, the programming language used to completely rewrite the web staple's compiler. Following a major rewrite effort that began with an experimental native Go implementation, this is the first stable release of the language to include its long-in-development Go-based compiler rewrite. “TypeScript 7 brings native code speed, shared memory multithreading, and several new optimizations that typically yield speedups between 8x and 12x on full builds,” wrote Microsoft Principal Product Manager Daniel Rosenwasser. For the user's code editor, the rewrite shortens the time it takes files to open, to search through the code, for auto-completion to awaken and do its job.