DEV Community

Cover image for Webdevs Are Melting 🫠 Typescript Will Be 10x Faster. Thanks To Go Language
Tom Smykowski
Tom Smykowski

Posted on

Webdevs Are Melting 🫠 Typescript Will Be 10x Faster. Thanks To Go Language

Image description

TypeScript compiler and tools show 10x speed improvement when rewritten to Go. Process to go fully live is ongoing

There’s no other thing on earth that brings a smile to soon-cease-to-exist (apparently) developers as faster tools.

In this case the tool is Typescript, a strongly typed Javascript superset and compiler that makes web development less frustrating.

Anders Hejlsberg decided to sweeten this day today for many people by announcing a super secret project called Corsa, just like Opel Corsa. And as the car is fast, as Typescript will be.

But we don’t talk about any neatly optimised function, the Typescript team decided to go full Gopher and rewrite compiler and TypeScript tools from Javascript to Go language.

The little forgotten language that let’s remember, is in the elite of the new wave alongside with Rust, was chosen to pump Typescript performance.

So far there is a public repo with what is done so far and some tests, while the final version should land in middle of the year 2025.

Opening VSCode codebase in VSCode (not a typo) takes 10 times less. Not 77s, but 7 seconds. We are talking here about a codebase with 1,5 million lines of code!

Image description

The news is really exciting because it will boost all tools and frameworks that use Typescript, also pipelines.

Among all the things that dropped today, TypeScript time is the best.

I’ve prepared a free checklist how to make your Angular app scalable and ready for enterprise demand. If you’re interested, you can get this checklist for free here.

source

Top comments (0)