Syntax - Tasty Web Development Treats

884: Typescript Just Got 10x Faster

79 snips
Mar 11, 2025
In a fascinating discussion, Anders Hejlsberg, the creator of TypeScript and lead architect at Microsoft, and Daniel Rosenwasser dive into TypeScript's groundbreaking shift to native code. They unveil how this leap enhances compilation speed, reducing large project compile times dramatically. The conversation covers the challenges and intricacies of porting to Go, the benefits of parallel type checking, and how these advancements pave the way for AI-assisted development. Expect a deep dive into performance evolution and community engagement in tech!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Type Inference Warning

  • Do not over-rely on type inference, even with the performance boost.
  • TypeScript's Turing-complete type system can lead to non-termination issues with excessive inference.
ANECDOTE

Template Literal Limits

  • Wes attempted to create a phone number type representing all possible numbers as a union.
  • This hit TypeScript's template literal type limits, demonstrating their practical constraints.
INSIGHT

Porting Process

  • Porting TypeScript to native code involved rewriting JavaScript functions in Go.
  • This approach ensured the same behavior and error messages as the existing toolset.
Get the Snipd Podcast app to discover more snips from this episode
Get the app