Making Python networking competitive with Go using work-stealing
Discussions on Python.org
Making Python networking competitive with Go using work-stealing
The problem: blocking Python’s I/O models all face the same question: what happens when something blocks? Asyncio can be stalled by one slow function. Threads require manual offloading, while processes are expensive and complicate resource sharing. Stackful runtimes such as gevent still run cooperatively on one thread, retaining asyncio’s core limitation. The solution: work-stealing across OS threads Go runs lightweight, stackful functions across real OS threads. If one thread stalls, work que...
0 comments
No comments yet.