Thursday, February 24, 2022

TypeScript compiler in GoLang

 I'm porting tsc to Go

"I’m porting the TypeScript Type Checker tsc to Go, and not Rust. As the creator of SWC, an extensible Rust platform, this might sound strange. Let me explain. ... rewriting a massive project such as tsc would be extremely difficult to continue.
  • tsc: 133.2 seconds (TypeScript)
  • Rust rewrite: 2.13 seconds (62x faster)
Vercel is sponsoring and funding the work to port tsc to Go.
planning to open-source this work in the future. 

No comments: