Microsoft announces it plans to release a tool to make TypeScript 10x faster by 2025



TypeScript is a language that incorporates types into JavaScript and is developed and maintained by Microsoft. On March 11, 2025, Microsoft announced that they are developing a new tool that will compile TypeScript in one-tenth the time, and are aiming to release it within 2025.

A 10x Faster TypeScript - TypeScript

https://devblogs.microsoft.com/typescript/typescript-native-port/

A 10x faster TypeScript - YouTube


To run a program in TypeScript, it needs to be compiled into JavaScript, but at the time of writing, the compiler is implemented in TypeScript , and compilation takes a long time for large projects. Therefore, even if you want to 'verify the presence or absence of errors throughout the code,' it is not easy to do smoothly, and development efficiency is declining.

Microsoft is currently creating a new native TypeScript compiler written in Go, and some features such as syntax analysis, type checking, and basic output to JavaScript have already been implemented. The new tool is said to reduce compilation time by a factor of 10, as well as reduce memory usage and improve editor startup speed.

The time it took to compile the code actually published on GitHub is as follows: It took 77.8 seconds to compile 1.5 million lines of VS Code code, but the native compiler took only 7.5 seconds, which shows a significant improvement.

Codebase Size(number of rows) Current (TS implementation) Native implementation Speed Comparison
VS Code 1,505,000 77.8s 7.5s 10.4x
Playwright 356,000 11.1s 1.1s 10.1x
TypeORM 270,000 17.5s 1.3s 13.5x
date-fns 104,000 6.5s 0.7s 9.5x
tRPC (server + client) 18,000 5.5s 0.6s 9.1x
rxjs (observable) 2,100 1.1s 0.1s 11.0x


Not only will compilation speeds improve, but the use of native tools will also improve the speed at which TypeScript projects load in the editor, reducing the time it takes to start the editor and be able to write code in a TypeScript project by about one-eighth, and reducing memory usage by more than half.

The latest version of TypeScript at the time of writing is 5.8, and the next major version, TypeScript 6.0, will continue to provide a TypeScript-based compiler. Microsoft plans to release a preview version with command line type checking by mid-2025, and a full compiler including project builds as TypeScript 7.0 by the end of 2025.

The native implementation of the TypeScript compiler is being developed as open source, and anyone can follow the development progress on GitHub , whereFAQs are also posted. If you are interested, please check it out.

in Software,   Video, Posted by log1d_ts