Guess what? Microsoft just dropped another game-changer! After blooming minds with its quantum computing breakthrough, it’s now shaking up the developer world with Project Corsa, a major upgrade for TypeScript.
This time, it’s all about supercharging TypeScript with Project Corsa, a move that promises to redefine performance, scalability, and efficiency for developers worldwide.
Microsoft has announced Project Corsa, a major initiative to enhance typescript performance by porting its compiler and language tools from JavaScript to Go.
Lets dive deeper into the Typescript Frist !
Typescript is a superset of JavaScript. Typescript allows developers to catch errors early and build larger scale applications. As it adds static typing. Typescript has gained popularity over a few decades. But because the typescript compiler is written in JavaScript it has lots of limitation
Corsa is Microsoft's attempt to rewrite typescript compiler and tooling in Go instead of Javascript.
Instead of building an entirely new compiler from scratch, Microsoft is using a direct, file-by-file, function-by-function translation from the original JavaScript codebase.
The goal is to retain TypeScript’s existing logic while unlocking massive performance improvements,
Advantages :-
Example: Compiling 1.5 million lines of TypeScript code in Visual Studio Code reduces from 77.8 seconds to a mere 7.5 seconds.
Why did Microsoft select Go over other languages such as Rust?
Certain developers wondered why Go was selected over Rust, a language that has a reputation for performance and memory safety. The following were Microsoft's reasons:
Go's compatibility with JavaScript – Go's coding patterns are quite similar to JavaScript, so existing contributors could find it easier to work with the new codebase.
Less troublesome switch for coders – Since Go also incorporates a garbage collector (similar to JavaScript), making the switch easier compared to using a lower-level language such as Rust.
More speed in development – Go makes rapid prototyping and performance tuning possible without adding unwarranted complexity.
What’s coming next
In mid 2025 microsoft is launching preview version which will have ability to command-line type checking
By the end of 2025 they will release a complete version full of project build support and language service.
In short? TypeScript is about to get fast.
With Project Corsa, Microsoft is saying goodbye to JavaScript’s slowdowns and hello to Go-powered speed. We’re talking 10x faster compile times and half the memory usage which basically means less waiting, more coding, and way smoother dev workflows. Big things are coming for TypeScript, and we’re here for it!