TypeScript native previews (Go-based 'Corsa') deliver ~10x type-check speedups

TypeScriptToolingDevTools

Key update

Microsoft published native previews of the Go-based TypeScript compiler (Project Corsa). The preview exposes an npm package (@typescript/native-preview) providing an executable named tsgo and a Visual Studio Code "TypeScript (Native Preview)" extension; on large real-world repositories the native port reduces full-project check times from minutes to single-digit seconds in their benchmarks (roughly 10x speedups), though some command-line and editor features (for example --build, declaration emit, and certain LSP capabilities like rename/find-all-references/auto-imports) are still pending implementation. (devblogs.microsoft.com)

Why it matters

Practical impact is immediate for large monorepos and editor responsiveness: teams can potentially run fast, whole-repo type-checks locally and in CI without the long waits that previously forced partial checks or slower developer workflows. Faster type-checks also enable more aggressive IDE features and make advanced refactorings and whole-project diagnostics feasible. However, migration should be staged — the native preview is suitable for experimentation (try tsgo locally and the VS Code preview) but you should keep the stable compiler for production-critical builds until feature parity (build/declaration/LSP parity) arrives. Tooling that integrates with tsc (build systems, bundlers, language-server consumers) may need updates because the native port exposes different IPC/API approaches (including a new sync RPC shim), so expect some work for tight integrations. In short: big win for developer productivity and CI speed once matured, but adopt incrementally and validate feature gaps for your workflows. (devblogs.microsoft.com)

Source

Read Next