Back to browse
GitHub Repository

Real Goroutines for Python 3.13t+ free-threaded.

60 starsPython

Runloom – Go-style coroutines for Python free-threaded

by Uptrenda·Jul 10, 2026·47 points·29 comments

AI Analysis

●●●BangerWizardryBig Brain

Hand-rolled asm context switches matching Go's 2.1M spawn/s on CPython is genuinely wild.

Strengths
  • Custom assembly context switching achieves ~80ns swap without syscalls on x86_64 and aarch64.
  • M:N work-stealing scheduler with Chase-Lev deque per hub for efficient core utilization.
  • Prebuilt wheels across Linux, macOS, Windows with zero runtime dependencies.
Weaknesses
  • Per-fiber memory is 8.8KB vs Go's 2.7KB - 3.3× overhead from CPython eval frames.
  • Requires free-threaded Python 3.13t+ which isn't yet mainstream production.
Target Audience

Python developers needing high-concurrency without async/await

Similar To

gevent · asyncio · Go goroutines

Similar Projects