Blogs / Why Rust for CPython, and What It Will Not Fix

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.

  • Learning
  • 1 min read

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]

Mitigatesclasses of issues thatcommonly create bugsDoes not removecorrectness issues, and notby itself free of bugs
What does the write-up say Rust mitigates, and what can still go wrong?

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

  1. Rust for CPython (Python Language Summit 2026) (blog.python.org · checked )

More articles