Starcast Join the waitlist
Talk Python To Me

Talk Python To Me

#561: TonIO, a Multi-threaded Async Runtime for Python

Sep 4, 2026 · 1h 16m

Coming soon to iPhone. Already have it? “Listen in Starcast” takes you straight there.

On this episode

About this episode

How many cores does your machine have, 10, 18? Your async Python code uses just one of them. That isn't a bug in asyncio. That's the design, and optimizing event loops to be faster by 20% doesn't change it. So Giovanni Barillari started over. Joe is the creator of Granian, the Rust-based server that powers Talk Python. His new project is TonIO, an async runtime written from scratch for free-threaded Python. Real threads, a handful of primitives instead of asyncio's pile of them, and it flat out refuses to start if the GIL is on.