Contribute Media
A thank you to everyone who makes this possible: Read More

Emulating Stackless and greenlet with each other

Summary

[EuroPython 2011] Peter Szabo - 20 June 2011 in "Track Ravioli"

Description

Stackless Python and the greenlet package for CPython are two different implementations of coroutine support for Python. (Coroutines are fundamental building blocks of I/O frameworks like gevent, Eventlet, Concurrence and Syncless to conveniently handle thousands of socket connections at a time without creating threads.) Stackless and greenlet implement a different interface. However, each is powerful enough so that it can be used to emulate the other one. In this talk we explore the differences and discuss design decisions and testing strategies of the emulations we have implemented.

Slides

Slides for the bonus sub-talk

Improve this page