Get the latest tech news

A 10x Faster TypeScript


Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.

By porting the current codebase, we expect to be able to preview a native implementation of tsc capable of command-line typechecking by mid-2025, with a feature-complete solution for project builds and a language service by the end of the year. CodebaseSize (LOC)CurrentNativeSpeedup VS Code 1,505,00077.8s7.5s10.4x Playwright 356,00011.1s1.1s10.1x TypeORM 270,00017.5s1.3s13.5x date-fns 104,0006.5s0.7s9.5x tRPC(server + client)18,0005.5s0.6s9.1x rxjs(observable)2,1001.1s0.1s11.0xWhile we’re not yet feature-complete, these numbers are representative of the order of magnitude performance improvement you’ll see checking most codebases. This native port will be able to provide instant, comprehensive error listings across an entire project, support more advanced refactorings, and enable deeper insights that were previously too expensive to compute.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Faster TypeScript

Faster TypeScript