# How Python Will Test Adding Rust Into CPython

DevFeed: [How Python Will Test Adding Rust Into CPython](<https://devfeed.tech/articles/how-python-will-test-adding-rust-into-cpython-64637.md>)

Original publisher: [Read original article](<https://developers.slashdot.org/story/26/10/04/2034229/how-python-will-test-adding-rust-into-cpython>)

Author: EditorDavid

Published: 2026-10-04T21:37:00Z

Content type: news

Language: en

Sources: [Slashdot](<https://devfeed.tech/sources/slashdot.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Python](<https://devfeed.tech/topics/python.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cpython](<https://devfeed.tech/tags/cpython.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [pycon](<https://devfeed.tech/tags/pycon.md>), [python](<https://devfeed.tech/tags/python.md>), [rust](<https://devfeed.tech/tags/rust.md>), [software-engineer](<https://devfeed.tech/tags/software-engineer.md>)

## AI overview

The Rust for CPython team proposes first adding an optional Rust implementation of the zlib module in Python 3.16, with existing C code retained as a fallback. Python distributors would test it and report platform issues; the team says Rust could reduce type-crash issues and improve compression performance.

## Source excerpt

Python's security developer-in-residence Seth Larson reports from this year's official core developer Python Language Summit: "No one said 'don't do this' last year". After testing the waters at PyCon US 2025, [software engineer] David Hewitt returned to the Python Language Summit asking what Python core developers want from Rust, along with proposed timelines, phases, and success criteria for how the Rust for CPython project might proceed and become a permanent fixture within the CPython project. David is acting as an "ambassador" for the Rust for CPython project team, which is currently led by core developers Kirill Podoprigora and Emma Smith as authors of the Rust for CPython PEP draft. Emma also spoke at PyCon US 2026 about the Rust for CPython project. The team itself is around 60 developers in a Discord channel, among them a "few [Python] core developers" and a "delegation from the Rust project". The team has experience with previous projects integrating Rust into existing codebases, such as Android and the Linux kernel, and is "excited by the work and keen to support [the project] if we proceed". 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... David explained that Jeff Vander Stoep described Rust in Android as "move fast and fix things", and that "fewer revisions for patches of the same size" was the experience Android has had since adopting Rust.... 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. David shared that Rust's support of different platforms has "widened since last year" and was becoming "less and less of a concern". 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