From ba5db11e7bb2daf1fb329ae5d6d87d9f39e5c36b Mon Sep 17 00:00:00 2001 From: Emma Harper Smith Date: Tue, 7 Apr 2026 19:49:04 -0700 Subject: [PATCH 1/3] Rust for CPython Progress Update April 2026 --- content/authors/emma-smith.json | 11 ++++ .../posts/rust-for-cpython-2026-04/index.md | 50 +++++++++++++++++++ keystatic.config.tsx | 2 + 3 files changed, 63 insertions(+) create mode 100644 content/authors/emma-smith.json create mode 100644 content/posts/rust-for-cpython-2026-04/index.md diff --git a/content/authors/emma-smith.json b/content/authors/emma-smith.json new file mode 100644 index 0000000..e77cac2 --- /dev/null +++ b/content/authors/emma-smith.json @@ -0,0 +1,11 @@ +{ + "name": "Emma Smith", + "bio": "CPython Core Developer and Rust for CPython co-lead", + "github": "emmatyping", + "avatar": "", + "twitter": "", + "bluesky": "emmatyping.dev", + "mastodon": "https://hachyderm.io/@emmatyping", + "website": "https://emmatyping.dev", + "featured": false +} diff --git a/content/posts/rust-for-cpython-2026-04/index.md b/content/posts/rust-for-cpython-2026-04/index.md new file mode 100644 index 0000000..c67a5b2 --- /dev/null +++ b/content/posts/rust-for-cpython-2026-04/index.md @@ -0,0 +1,50 @@ +--- +title: Rust for CPython Progress Update April 2026 +publishDate: '2026-04-07' +author: Emma Smith +description: "Rust for CPython project status update April 2026" +tags: + - Rust +published: true +--- + +> This post has also been shared on [discuss.python.org](). + +--- + +We (the Rust for CPython community) wanted to provide an update on where the project is and our current plans from now to a Python Enhancement Proposal (PEP) for introducing Rust into CPython. + +## Recent work + +Since the [pre-PEP thread](https://discuss.python.org/t/pre-pep-rust-for-cpython/104906), we’ve been working on making the reference implementation build system more robust across the platforms CPython supports. We’re now successfully building CPython with Rust in our fork’s CI on all tested platforms. + +We’ve also had a number of productive discussions with the Rust team, who have been incredibly generous to meet with us to discuss the needs of the CPython project and how best to address issues we face with integrating Rust with CPython. I’m incredibly grateful to everyone who has joined those meetings. + +We’ve also had some discussions about the design of a Rust API for CPython. You can see [issues tagged api-design](https://github.com/Rust-for-CPython/cpython/issues?q=is%3Aissue%20state%3Aopen%20label%3Aapi-design) which cover the critical components of the API design. We’d love to get more input on designing the Rust API, so please see below about contributing if you are interested in working with us on the Rust API. As a reminder, this API will remain internal until a later PEP stabilizes it and makes it public. + +## Roadmap to a PEP + +Since the pre-PEP, we’ve decided that we will be targeting Python 3.16 rather than 3.15 as the first Python version to include Rust code. This gives us a year to make the reference implementation the best it can be and plenty of time for discussion of the PEP. + +The below timeline is subject to change, but covers a rough plan of what and when we hope to accomplish things: + +- March + - Done! ~~Finish the build system work, ensuring platforms tested in CPython CI are green~~ +- April + - Start planning the internal Rust API design + - Select a single extension module to have a Rust implementation in 3.16 +- May + - Finalize a plan for the internal Rust API design + - Start implementing the internal Rust API + - Sprint at PyConUS on the internal Rust API and the extension module +- June + - Start writing the PEP +- July + - Finalize the PEP draft + - Submit the PEP and begin discussion + +We recognize introducing Rust is a significant change, and expect the PEP discussion to be lengthy, so we want to make sure there is ample time to discuss it prior to [3.16 beta 1 in May 2027](https://peps.python.org/pep-0826/#schedule). + +## Contributing + +Interested in contributing to the Rust for CPython project? Please join [our Discord](https://discord.gg/2pw3YSDscP)! We have meetings every Monday at 12:00PM PDT to discuss the project. We’d love to have more folks join those meetings and work with us on Rust for CPython! diff --git a/keystatic.config.tsx b/keystatic.config.tsx index 84505d8..37b2c03 100644 --- a/keystatic.config.tsx +++ b/keystatic.config.tsx @@ -23,6 +23,7 @@ const knownAuthors = [ "Michael Markert", "Mike Driscoll", "Philip Jenvey", + "Emma Smith", ]; const knownTags = [ @@ -37,6 +38,7 @@ const knownTags = [ "contributors", "buildbot", "history", + "Rust", ]; const referenceComponents = { From 51263f05ba8b19cff0e992e7b51a9d96b6da7a2d Mon Sep 17 00:00:00 2001 From: Emma Smith Date: Wed, 8 Apr 2026 01:13:16 -0700 Subject: [PATCH 2/3] Add link to DPO post --- content/posts/rust-for-cpython-2026-04/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/rust-for-cpython-2026-04/index.md b/content/posts/rust-for-cpython-2026-04/index.md index c67a5b2..b6e865c 100644 --- a/content/posts/rust-for-cpython-2026-04/index.md +++ b/content/posts/rust-for-cpython-2026-04/index.md @@ -8,7 +8,7 @@ tags: published: true --- -> This post has also been shared on [discuss.python.org](). +> This post has also been shared on [discuss.python.org](https://discuss.python.org/t/rust-for-cpython-progress-update-april-2026/106895). --- From f6fdb0f79f9c468f12514a0b56722a0956c350c1 Mon Sep 17 00:00:00 2001 From: Emma Harper Smith Date: Wed, 8 Apr 2026 01:15:18 -0700 Subject: [PATCH 3/3] Update publishing date --- content/posts/rust-for-cpython-2026-04/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/rust-for-cpython-2026-04/index.md b/content/posts/rust-for-cpython-2026-04/index.md index b6e865c..02b39a8 100644 --- a/content/posts/rust-for-cpython-2026-04/index.md +++ b/content/posts/rust-for-cpython-2026-04/index.md @@ -1,6 +1,6 @@ --- title: Rust for CPython Progress Update April 2026 -publishDate: '2026-04-07' +publishDate: '2026-04-08' author: Emma Smith description: "Rust for CPython project status update April 2026" tags: