Fundamentals 4 min read

The Shannon Plan: Faster CPython Initiatives for Python 3.13

Mark Shannon’s “Shannon Plan” for Faster CPython outlines three parallel initiatives—Tier 2 optimizer, enabling sub‑interpreters via PEP 554, and memory‑management improvements—aimed at making Python up to five times faster by Python 3.13, with Microsoft joining the effort.

Python Programming Learning Circle
Python Programming Learning Circle
Python Programming Learning Circle
The Shannon Plan: Faster CPython Initiatives for Python 3.13

In autumn 2020, CPython core developer Mark Shannon proposed a series of performance improvements for Python, known as the "Shannon Plan".

He launched the Faster CPython project aiming to make Python five times faster within four years, with Microsoft later joining the effort.

Recent updates from Shannon and Michael Droettboom outline three parallel work streams for Python 3.13:

Tier 2 optimizer : target at least a 50% reduction in interpreter time, with steps to get the Tier 2 interpreter running, generate superblocks, and implement basic superblock management.

Enable sub‑interpreters from Python code (PEP 554) : builds on the per‑interpreter GIL introduced in Python 3.12, allowing better parallelism without writing C extensions.

Memory‑management optimizations : improve data structures to reduce allocations and decrease time spent in cyclic garbage collection.

The plan also mentions an early‑stage JIT effort, noting that a tracing interpreter is the first step and that a full JIT may not arrive until Python 3.13.

Internal debates about removing the Global Interpreter Lock (GIL) are highlighted, with the Faster Python team positioned favorably in the discussion.

Related links: Faster CPython 3.13 proposal and Hacker News discussion .

performanceOptimizationPythonInterpreterCPythonPEP 554
Python Programming Learning Circle
Written by

Python Programming Learning Circle

A global community of Chinese Python developers offering technical articles, columns, original video tutorials, and problem sets. Topics include web full‑stack development, web scraping, data analysis, natural language processing, image processing, machine learning, automated testing, DevOps automation, and big data.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.