Hasty Briefsbeta

Eventual Rust in CPython

6 days ago
  • #Python
  • #Rust
  • #CPython
  • Python core developers Emma Smith and Kirill Podoprigora proposed integrating Rust into CPython, initially for optional extension modules, with a long-term goal of making Rust a required dependency.
  • The initial timeline suggested warnings for missing Rust in Python 3.15 (2026), optional use in 3.16, and potential requirement by 3.17 (2028), but was scaled back due to community concerns.
  • Rust's appeal includes memory safety and the growing number of third-party Python extensions written in Rust, potentially attracting more contributors to CPython.
  • Concerns were raised about platform support, especially for niche architectures, and the potential for increased complexity without clear benefits.
  • The discussion revealed a divide between those advocating for a cautious, gradual approach and others pushing for more aggressive adoption of Rust in CPython's core.
  • The proposal was adjusted to focus on optional extension modules for the foreseeable future, with the possibility of revisiting Rust in CPython's core later.
  • Community feedback highlighted the importance of consensus and the need to balance innovation with stability and inclusivity for all platforms.