Learn Python with Talk Python's over 250 hours of courses

Parallel Python Apps with Sub Interpreters

Episode #447, published Sat, Feb 3, 2024, recorded Tue, Dec 5, 2023

It's an exciting time for the capabilities of Python. We have the Faster CPython initiative going strong, the recent async work, the adoption of typing and on this episode we discuss a new isolation and parallelization capability coming to Python through sub-interpreters. We have Eric Snow who spearheaded the work to get them added to Python 3.12 and is working on the Python API for 3.13 along with Anthony Shaw who has been pushing the boundaries of what you can already do with subinterpreters.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version


Links from the show

Guests
Anthony Shaw: @tonybaloney@fosstodon.org
Eric Snow: @ericsnowcurrently@mastodon.social

PEP 684 – A Per-Interpreter GIL: peps.python.org
PEP 734 – Multiple Interpreters in the Stdlib: peps.python.org
Running Python Parallel Applications with Sub Interpreters: fosstodon.org
pytest subinterpreters: fosstodon.org
Long-Term Vision for a Parallel Python Programming Model?: fosstodon.org


Hypercorn Server: github.com
msgspec: jcristharif.com
Dill package: pypi.org
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon