CPython now officially supports RISC-V

RISC-V is now officially supported by CPython

CPython now officially supports RISC-V

CPython has added RISC-V as a tier 3 supported platform, marking a significant milestone for the open-source instruction set architecture. The announcement, made by a CPython developer, highlights the growing importance of RISC-V, whose ecosystem is projected to quadruple by 2032. The support was made possible through community contributions and testing on real hardware, with key assistance from the RISE Project, which provided buildbots and debugging support. Future plans include integrating RISC-V into CI, promoting to tier 2, and exploring architecture-specific optimizations.

RISC-V is an open instruction set architecture (ISA) that, unlike proprietary instruction sets such as x86 and ARM, is developed as an open standard and can be implemented by anyone.
  1. ironhaven

    What RISC-V extensions is this built for? There is a target triple of riscv64-unknown-linux-gnu listed so i assume the baseline RV64GC that the Linux kernel is built against.

    It makes sense to be conservative with a new architecture but new high performance RISC-V cores such as from SiFive[1] are going to meet RVA23. That standard has vector and bit manipulation extensions that could be used to improve performance with a python interpreter. I guess more testing needs to be done to see if raising the bar is useful.

    [1]https://www.sifive.com/cores/performance-p800

  2. throwaway81523

    CPython is written in C, did running it on Risc-V take more than a recompilation? Were there any surprises? Yes of course it needs testing and RISC-V in the CI stack, but I'd expect fairly smooth sailing.

  3. yyyk

    Odd they still have i686-pc-windows-msvc as Tier 1 *. Even Microsoft doesn't have any supported 32bit Windows versions anymore, and C extension modules likely follow Linux (where Python doesn't have any no supported i686 triplets in any tier). It would be more modern to demote its Tier and promote aarch64 Windows or wasm32 instead to Tier 1.

    * https://peps.python.org/pep-0011/#tier-1

  4. yjftsjthsd-h

    > RISC-V is now officially supported by CPython as a

    tier 3 platform!

    That's significant, but tier 3 is still a caveat. Still allowed to break without blocking anything or being fixed as a priority.

  5. greatgib

    For quite some times I'm wondering how I could invest in RISC, or RISC related manufacturer but it looks like all companies are private.

More from this day

2026-08-30