Tuesday, August 25, 2026
HomePythonRISC-V is now formally supported by CPython!

RISC-V is now formally supported by CPython!


Over the previous couple of months, I’ve been engaged on bettering CPython’s assist for
the RISC-V structure, and I’m thrilled to announce that RISC-V is now
formally supported by CPython as a tier 3
platform! 🎉 🚀

What’s RISC-V?

RISC-V logo

RISC-V is an open instruction set structure (ISA). Importantly,
not like proprietary instruction units (akin to x86 and ARM), it’s developed as an
open customary and will be applied by anybody.

Its ecosystem has grown significantly in recent times and is projected to
quadruple by 2032
. With that progress, it’s more and more necessary that
Python works reliably on these platforms.

Getting right here

This may not have been doable with out group contributions. RISC-V assist
in CPython has developed over time with folks testing on actual {hardware},
fixing architecture-specific points, bettering construct assist, reporting bugs,
and reviewing patches. That work is what has introduced the platform to the purpose
the place it might be added to PEP 11.

RISE project logo

A very necessary a part of this has been having dependable, ongoing testing
on actual RISC-V {hardware}. I’d prefer to thank the RISE Challenge for his or her
assist. RISE has kindly offered a number of RISC-V machines for CPython,
giving us buildbots for testing in addition to debugging architecture-specific points.

I’d particularly prefer to thank Ludovic Henry from the RISE Challenge,
Furkan Onder, and Emma Smith, together with the numerous others who’ve
contributed. Moreover, I’m personally grateful for the Sovereign Tech Company,
which via their superb fellowship supported my work on this.

What’s subsequent?

Whereas tier 3 assist is a vital milestone, there’s a lot extra to do.
We’re presently investigating find out how to enhance our testing additional by bringing
RISC-V instantly into CPython’s CI, once more kindly supported by RISE with their
RISE RISC-V Runners initiative. This could give contributors quicker
suggestions than the buildbots (which often run after a patch is merged)
and would enable us to catch RISC-V-specific issues earlier.

In the long run, I’d additionally like to work in direction of selling RISC-V to tier 2 assist.

There are additionally alternatives to maneuver past merely making CPython work on RISC-V.
I’d prefer to discover architecture-specific optimizations to take higher benefit
of RISC-V capabilities the place doing so can enhance CPython’s efficiency.

Importantly, we want folks to make use of it and provides us suggestions. If in case you have entry
to RISC-V {hardware}, please strive constructing and operating CPython, run your workloads
and take a look at suites, and please tell us what breaks. Testing throughout
totally different RISC-V environments will assist us make assist higher for everybody!

CPython can also be just one a part of the Python ecosystem. Continued group work
throughout packages, compilers, tooling, and infrastructure shall be necessary in
making RISC-V an more and more well-supported platform for Python as a complete.

There’s lots nonetheless to do, and I’m wanting ahead to persevering with that work!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments