March 11th, 2025 × #typescript#performance#compiler
Typescript Just Got 10x Faster
The TypeScript team has ported the TypeScript compiler and tools to native Node code, realizing about a 10x performance improvement across parsing, type checking and emitting.
Wes and Scott talk with Anders Hejlsberg and Daniel Rosenwasser about TypeScript’s leap to native code. They discuss the challenges, trade-offs, and the decision to port TypeScript to Go, unlocking faster compilation, better concurrency, and new possibilities for AI-assisted development.
Show Notes
-
00:00 Welcome to Syntax!
-
00:38 TypeScript compiler goes native
-
05:24 Challenges in rebuilding TypeScript
-
08:49 How long has this been in development?
-
10:32 What does porting TypeScript to native entail?
-
16:36 Why choose Go?
-
26:48 The porting process
-
35:27 Type checking and parallel compilation
-
42:36 Fixing TypeScript's performance bottlenecks
-
49:09 Large TypeScript codebases
-
54:11 What's the timeline for the new compiler?
-
58:39 Optimization and AI
-
01:00:32 New features?
-
01:04:15 Sick Picks + Shameless Plugs
Sick Picks
- Daniel: pprof-it
- Anders: USB Hand Warmers
Shameless Plugs
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads