Blogs / Why a JIT Needs Maintainers in Every Stage

Why a JIT Needs Maintainers in Every Stage

The three JIT stages and the maintainer goal the CPython JIT team's post describes, and what it says changed in the middle-end.

  • Learning
  • 1 min read

For: Learners curious about open-source compilers.

The plan

At the CPython core sprint in Cambridge, the JIT core team met, and we wrote a plan for a 5% faster JIT by 3.15 and a 10% faster JIT by 3.16, with free-threading support.[1]

Three stages, two maintainers each

A side note, which was less headline grabbing, but vital to the health of the project: was to decrease the bus factor.[1]

We wanted 2 active maintainers in all 3 stages of the JIT; frontend (region selector), middle-end (optimizer), backend (code generator).[1]

Frontendregion selectorMiddle-endoptimizerBackendcode generator
What are the three stages of the JIT the post names?

What changed in the middle-end

Previously, the JIT only had 2 active recurrent contributors middle-end.[1]

Today, the JIT has 4 active recurrent contributors to the middle-end, and I would consider the 2 non-core developers (Hai Zhu and Reiden) capable and valued members.[1]

Sources

  1. Python 3.15's JIT is now back on track (blog.python.org · checked )

More articles