Fundamentals 4 min read

How the Shannon Plan Targets a 5× Speed Boost for Python

Mark Shannon’s “Shannon Plan” and the Faster CPython project aim to boost Python’s speed fivefold within four years by introducing a Tier 2 optimizer, enabling sub‑interpreters via PEP 554, and overhauling memory management, while also discussing JIT prospects and internal debates over GIL removal.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
How the Shannon Plan Targets a 5× Speed Boost for Python

In autumn 2020 CPython core developer Mark Shannon proposed a series of performance improvements known as the “Shannon Plan”.

He launched the Faster CPython project with the goal of making Python five times faster within four years.

Microsoft later joined the effort, and developers including Mark Shannon and Guido van Rossum are working on the “Faster CPython” research.

Recently Shannon and Michael Droettboom outlined the plan for Python 3.13, which includes three parallel work streams:

Tier 2 optimizer – aim to cut interpreter time by at least 50% by getting the Tier 2 interpreter running, generating superblocks, and implementing 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 C extensions; a draft PEP 554 is pending approval.

Memory‑management optimizations – reduce allocation overhead and shorten cyclic‑GC pauses by improving data structures.

The official JIT is still a longer‑term goal; the first step is a tracing interpreter, but a full JIT compiler may not appear until Python 3.13, and Shannon remains skeptical about its necessity.

Some developers criticize the internal struggle with another project that seeks to remove CPython’s global interpreter lock (GIL) entirely, noting that the Faster Python team appears to have a stronger political position in that debate.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

PEP 554
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

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.