Analysis of the New Wave of Python Type Checkers

September 17, 2025

Rob Hand’s comparison of emerging type checkers is the first comprehensive look at three new Rust-based tools: ty (Astral), pyrefly (Meta), and zuban (David Halter).

Key Findings

Performance drives the rewrite. All three abandon Python implementations for Rust, targeting the bottlenecks that slow existing checkers on large codebases.

Conformance scores don’t predict usefulness. ty passes only 15% of the typing conformance suite’s tests but works well for everyday Python. The suite apparently focuses on edge cases most developers never hit.

Each tool makes different tradeoffs. Astral wants gradual adoption with fewer false positives. Meta catches more issues upfront through aggressive inference. Zuban prioritizes mypy compatibility.

Last updated on

Please submit corrections and feedback...