ty's speed comes from skipping checks: exhaustiveness, initialization and more

dcolascione · x · 2026-12-02

Developer dcolascione challenges Astral's "extremely fast" type checker ty: it omits pattern matching exhaustiveness checks, instance variable initialization checks, hashability checks, and falls back to dynamic typing in various places. His verdict: it's easy to go fast when you do less.

Related event: ty Author Defends Fast Type Checker Against 'Fewer Checks' Criticism(4 posts)→

Original post →