# TypeScript to Go 10X Faster !!!

According to TypeScript’s official announcement, they are fully rewriting TypeScript in Go, achieving a 10x speedup.

To get more info about the announcement, follow this [Official Typescript Blog Link](https://devblogs.microsoft.com/typescript/typescript-native-port/) .

Here’s the some insights I get to know after taking time overviewing the annoucements and reading the blogs which have covered the breaking changes.

## Will this impact me?

TypeScript is being rewritten in **Go**, which will make everything **much faster** for developers. Here’s how it helps:

* **Faster Coding Experience** – Your code editor (like VS Code) will respond **10x faster** when showing errors, suggestions, and navigating through code. This is especially helpful for large projects.
    
* **Faster Compilation** – The TypeScript compiler (`tsc`) will work **10x faster**, making your projects build quickly. This also means **faster CI/CD pipelines**, so deploying apps will take less time.
    

Simply put, everything you do with TypeScript will become **way smoother and quicker** which means *“ IT IMPROVE DX FOR EVERY TYPESCRIPT DEVELOPERS.”*

## Need to update my code?

The answer is NO. The code remains the same.

## Why Not Rust?

Well, the typescript team has put the reason for choosing Go behind all others in its github discussion. Here’s the link: [https://github.com/microsoft/typescript-go/discussions/411](https://github.com/microsoft/typescript-go/discussions/411) .

Go was the best choice mainly because it is very similar to JavaScript in structure. Its coding style is a lot like TypeScript’s current setup, making the transition smoother.

## Why not make the JavaScript code faster instead?

I found the topic covered watching the videos in youtube, sharing their views on javascript and typescript. To simply put this on the table, **JavaScript runs on a single thread**, meaning it can only handle one task at a time. The reason JavaScript itself wasn't optimized for speed. While upcoming features like **Shared Structs** may improve this in the future, they aren’t fully developed yet. On the other hand, languages like **Go and Rust** have **built-in multi-threading support**, allowing them to use **multiple CPU cores** to process tasks simultaneously. This parallel processing makes them **much faster** than JavaScript, which is why TypeScript is being rewritten in Go instead of trying to speed up the existing JavaScript code.

## Wanna Try It Out?

Visit the official [Typescript-Go repo](https://github.com/microsoft/typescript-go) and follow the instructions to hands on this new and amazing update.
