Syntax - Tasty Web Development Treats

969: This guy is nuts (TypeScript Doom)

63 snips
Jan 12, 2026
Dimitri Metropolis, a creative TypeScript developer, dives into the wild world of programming by discussing his groundbreaking project that runs Doom entirely within the TypeScript type system. He explores Turing completeness in TypeScript, revealing the practical challenges he's faced along the way. Dimitri also introduces TypeSlayer, a tool to diagnose TypeScript performance issues, and discusses how it visualizes complex types. The conversation touches on the future of programming languages and the impact of AI on developers, all within the vibrant community of Michigan TypeScript.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
ADVICE

Use TypeSlayer To Diagnose Type Costs

  • Use TypeSlayer to expose and inspect TypeScript's internal type graph so you can find runaway unions, heavy types, and diagnostics causing slowdowns.
  • The tool highlights costly types and 'complexity limit' errors so you can fix hotspots rather than hiding diagnostics with ignores.
INSIGHT

Hidden Memory Costs In TypeScript Monorepos

  • Extremely large projects can produce enormous type-state and memory footprints (multiple gigabytes) that are invisible without tooling.
  • Dimitri found monorepos producing multi-gigabyte type JSON and projects requiring dozens of gigabytes to type-check.
ADVICE

Triage Type Performance With Small Fixes

  • Use small, targeted fixes identified by tooling to shave seconds or minutes off CI and editor responsiveness rather than assuming big rewrites.
  • Investigate utility types or matrix-like type operations that can cause combinatorial explosions and optimize or replace them.
Get the Snipd Podcast app to discover more snips from this episode
Get the app