Why Rust for CPython, and What It Will Not Fix
The reasons the Language Summit 2026 write-up gives for proposing Rust in CPython, what it says Rust does not remove and how the team proposes to reduce the risk.
For: Learners curious about language runtimes.
The case for Rust
Showing how adopting Rust may specifically help CPython, David noted how the number of issues labeled with “type-crash” has been steadily rising over time. “We’ve been making some big technical bets”, he said, referencing the new parser, the JIT, and free-threading.[1]
These large, complex features may be one of the reasons more crash reports are being opened on GitHub, and Rust could be a potential solution here.[1]
Rust and Python are already working together in Python’s ecosystem of packages thanks to PyO3 and Maturin.[1]
What Rust does not remove
David was clear that using Rust in itself does not necessarily mean that ported code would be free of bugs or security issues.[1]
Although Rust does mitigate classes of issues that commonly create bugs, the code can still have correctness issues.[1]
How the team proposes to reduce the risk
The team proposes mitigating this by adopting property-based testing, fuzzing, and using “prudent engineering practices” during the porting process.[1]
David acknowledged that adopting Rust into a project is a social challenge as much as a technical challenge.[1]
Rust knowledge is “not universal amongst core developers”, which would be partially mitigated by “targeting small portions” of CPython and an incremental approach, as “1 million lines of C code can’t be ported all at once”.[1]
Sources
- Rust for CPython (Python Language Summit 2026) (blog.python.org · checked )
More articles
- LearningWhy a JIT Needs Maintainers in Every StageThe three JIT stages and the maintainer goal the CPython JIT team's post describes, and what it says changed in the middle-end.
- LearningHow the Python Security Response Team Handles VulnerabilitiesWhat a Python.org post says the Python Security Response Team triages and coordinates and why it involves project experts in fixes.
- LearningNVKE and NVKR: What the Two NVIDIA Projects DoWhat NVIDIA's announcement says NVKE and NVKR do, that they can be used together or apart, and their license and release status.