← All stories
● Covered by 1 source · 1 reportMedium impact1 positive

Astral Releases Ty 1.0, a Fast Python Type Checker and Language Server in Rust

🔄 Updated 4h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Ty 1.0 released by Astral, written in Rust.
  • Default type checker at OpenAI, showing 24x speedup.
  • Faster than Pyrefly and Zuban in benchmarks.
  • Uses gradual and set-theoretic typing approach.

Ty 1.0 Release and Performance

Astral, known for developer tools like uv and Ruff, announced the 1.0 release of Ty, a Python type checker and language server. Ty is written in Rust and focuses on performance.

Internal migration to Ty at OpenAI resulted in a median 24x speedup and a 73% reduction in peak memory usage. Benchmarks show Ty is faster than other Rust-based type checkers like Pyrefly and Zuban on most ecosystem projects.

Architectural Approach and Editor Integration

Ty's architecture incorporates incrementality, which enables fast live updates within an editor or long-running process. This design contributes to its performance as a language server, where it outperformed Pyrefly and Zuban in editor benchmarks.

Ty can be installed via uv tool install ty@latest or through its VS Code extension, making it accessible for developers.

Adoption and Typing Methodology

Despite its beta status, Ty has seen adoption in projects like FastAPI and tox. A November audit of PyPI packages indicated that 11.6% of repositories with a type checker used Ty, placing it third behind mypy and Pyright. For repositories created in the last year, Ty's usage was 22.6%.

Ty employs a novel approach to Python typing based on gradual and set-theoretic typing. This foundation is intended to support the development of a more accurate type checker that can evolve with Python's type system. On the Python typing conformance suite, Ty now reports 14 false positives and 13 false negatives, a reduction from its beta release figures.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Dec 01

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Astral has released Ty 1.0, a Python type checker and language server written in Rust, which is now the default type checker at OpenAI. Ty 1.0 offers significant speed improvements and reduced memory usage compared to other type checkers, and is recommended for production use. It aims to provide a faster and more accurate typing experience for Python developers.