Skip to content
IJK

Rust for CPython: The Proposed Timeline and What Packagers Are Asked

By IJK ·

The stages of the proposed Rust for CPython timeline, what it asks distributors to try and the first module chosen, as the Language Summit 2026 write-up reports them.

The proposed timeline

Under this timeline, the first Rust code to ship in Python would be in Python 3.16, where it would be completely optional, with the existing C code kept as a fallback. [1]

The earliest that Rust would become required to build CPython is Python 3.18 in 2029, at least three years away. [2]

Finally, in some distant Python version (October 2029+) the Rust build would be made required and a public Rust API would be published. [3]

Python 3.16optional Rust, C code kept as fallbackPython 3.18earliest Rust becomes required to buildOctober 2029 or laterrequired Rust build, public Rust API
In which order does the write-up say Rust would arrive in CPython?

What distributors are asked to do

One of the biggest concerns from a year ago was Rust’s lack of platform support compared to CPython, which at the time of writing officially supports 20 different architectures and platforms at either Tier 1, 2, or 3. [4]

David shared that Rust’s support of different platforms has “widened since last year” and was becoming “less and less of a concern”. [5]

The proposal would be to ask Python distributors to attempt using the optional Rust support in Python 3.16 (October 2027) and report platform-specific issues upstream in time to be resolved around the Python 3.17 timeline (October 2028). [6]

The first module

The Rust for CPython team has selected the zlib module as the first module to be given an optional Rust implementation because they “wanted to achieve a significant improvement” with a “small scope”. [7]

The module was also selected because it’d require using an external Cargo package, meaning this aspect of the build process would need to be designed and exercised. [8]

Sources

  1. The Python Software Foundation source says: Under this timeline, the first Rust code to ship in Python would be in Python 3.16, where it would be completely optional, with the existing C code kept as a fallback. Rust for CPython (Python Language Summit 2026)
  2. The Python Software Foundation source says: The earliest that Rust would become required to build CPython is Python 3.18 in 2029, at least three years away. Rust for CPython (Python Language Summit 2026)
  3. The Python Software Foundation source says: Finally, in some distant Python version (October 2029+) the Rust build would be made required and a public Rust API would be published. Rust for CPython (Python Language Summit 2026)
  4. The Python Software Foundation source says: One of the biggest concerns from a year ago was Rust’s lack of platform support compared to CPython, which at the time of writing officially supports 20 different architectures and platforms at either Tier 1, 2, or 3. Rust for CPython (Python Language Summit 2026)
  5. The Python Software Foundation source says: David shared that Rust’s support of different platforms has “widened since last year” and was becoming “less and less of a concern”. Rust for CPython (Python Language Summit 2026)
  6. The Python Software Foundation source says: The proposal would be to ask Python distributors to attempt using the optional Rust support in Python 3.16 (October 2027) and report platform-specific issues upstream in time to be resolved around the Python 3.17 timeline (October 2028). Rust for CPython (Python Language Summit 2026)
  7. The Python Software Foundation source says: The Rust for CPython team has selected the zlib module as the first module to be given an optional Rust implementation because they “wanted to achieve a significant improvement” with a “small scope”. Rust for CPython (Python Language Summit 2026)
  8. The Python Software Foundation source says: The module was also selected because it’d require using an external Cargo package, meaning this aspect of the build process would need to be designed and exercised. Rust for CPython (Python Language Summit 2026)

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • python
  • rust
  • cpython
  • packaging