New Python Type Checker "ty" Promises Orders of Magnitude Speed Improvement
Written in Rust, the new ty type checker and language server enters beta, offering dramatically faster performance than Mypy and Pyright on large codebases.
A new Python type checker called "ty" has entered beta, promising orders of magnitude faster performance than existing tools like Mypy and Pyright. Written in Rust, ty is designed to handle the largest Python codebases with minimal latency.
Performance Improvements
According to benchmarks, ty offers dramatic speed improvements:
- Incremental updates: Orders of magnitude faster than Mypy on large projects
- Full project analysis: Significantly faster cold-start performance
- Language server mode: Near-instant feedback for IDE integration
Even compared to other Rust-based tools like Pyrefly, ty demonstrates superior performance on incremental updates—the most common operation during active development.
Why Rust?
The choice to implement ty in Rust provides several advantages:
- Memory efficiency: Rust's ownership model enables efficient memory usage without garbage collection pauses
- Parallelization: Safe concurrent processing of multiple files
- Predictable performance: No JIT warmup or GC pauses during analysis
Current Status
ty is currently in beta with a stable release planned for 2026. The tool is positioned as an alternative to:
- Mypy: The original Python type checker
- Pyright: Microsoft's static type checker
- Pylance: VS Code's Python language server (built on Pyright)
Implications for Python Development
Faster type checking could encourage broader adoption of type hints in Python projects. Teams that previously avoided type checking due to slow feedback loops may reconsider with ty's improved performance.
Related Articles
Redis 8.4 Brings Hybrid Search, Atomic Multi-Key Operations, and Auto-Repair AOF
Redis 8.4 is now generally available, delivering hybrid search that combines full-text and vector queries using Reciprocal Rank Fusion, new atomic string commands like MSETEX and DELEX, and automatic repair for corrupted append-only files. Lookahead prefetching and JSON memory optimizations round out a performance-focused release.
Deno 2.7 Stabilizes Temporal API and Ships Native Windows ARM Builds
Deno 2.7 has stabilized the TC39 Temporal API, bringing immutable, timezone-aware date and time objects to replace the legacy JavaScript Date API. The release also delivers official Windows ARM builds for Surface and Snapdragon devices, npm overrides support, and global install compilation for standalone executables.
Laravel 13 Ships with PHP Attributes, Passkeys, and Zero Breaking Changes
Taylor Otwell unveiled Laravel 13 at Laracon EU, delivering PHP 8 Attributes as an alternative to class properties, built-in passkey authentication in starter kits, and a new Reverb database driver for horizontal WebSocket scaling. The release requires PHP 8.3+ and promises the smoothest upgrade path in Laravel history.