DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Show HN: Runloom – Go-style coroutines for Python free-threaded

Quality: 8/10 Relevance: 9/10

Summary

This article introduces Runloom, a Go-style stackful coroutine runtime for Python 3.13t+ that enables blocking code to run concurrently across multiple cores with a non-async API. It describes core features like a hand-rolled ASM context switch, M:N work-stealing scheduler, netpoll, and Go-style channels, and provides benchmarks comparing Runloom to Go. It also covers limitations (memory footprint, GIL-free requirements, platform backends) and how to use the library.

🚀 Service construit par Johan Denoyer