TypeScript native previews: Go-based compiler (tsgo) now available

TypeScriptToolingCompiler

Key update

Microsoft has published TypeScript Native Previews: a Go-based port of the TypeScript compiler and language service that you can install as a preview package (it provides a tsgo executable). Early results claim roughly 10x speedups on many real-world projects, drastically lower memory use, and a previewed language-service for editors; the preview currently supports command-line type-checking and editor integrations but has feature gaps (declaration emit, full --build/project-reference parity, and some downlevel/JSX emits are limited). (devblogs.microsoft.com)

Why it matters

If the native implementation reaches parity, this changes practical developer workflows: editor responsiveness and large-codebase incremental typechecks could become near-instant, CI type-check stages and monorepo builds may shrink dramatically, and memory-constrained build agents will be less of a bottleneck. For now, treat the previews as an early test: try @typescript/native-preview/tsgo in CI or a branch to measure real-world speedups, validate missing emits (declarations/--build), and watch for the announced migration path (TypeScript 6.x as a transition toward the native 7.x vision). Upgrading teams should plan evaluation and compatibility testing rather than immediate migration to the preview in production. (devblogs.microsoft.com)

Source

Read Next