TypeScript 7 launches as native Go-based compiler with up to 12x faster builds
- TypeScript 7 is a native Go port of the compiler delivering 8x to 12x speedups on full builds across large codebases like vscode, sentry, and bluesky
- The rewrite also reduces memory usage by 6% to 26% while cutting editor startup and first-error detection time from about 17.5 seconds to under 1.3 seconds
- TypeScript 7 ships via the normal npm install flow and gains editor support through a new LSP-based VS Code extension and automatic Visual Studio integration
- Microsoft says the release was validated over the past year with internal teams like Loop, Office, PowerBI, Teams, and Xbox plus external companies including the VS Code team
- HN discussion largely centers on the Go vs Rust language choice, debates over TypeScript's type system sophistication, and a broader argument about whether static typing is genuinely valuable for JavaScript