~/talk

Emulating Stackless and greenlet with each other

Talkat EuroPython 2011 · 2011-06-20..06-26· [concurrency, python]
links:none on file
slides:none on file

Builds working Stackless↔greenlet emulation layers and runs a battery of compatibility tests; most core operations — switch, spawn, and task-local dictionary access — pass but several implementations fail due to reference-counting failures and subtle exception-handling differences (exception message and traceback edge cases). Discovers task-local storage semantics and stack-frame local variables are the hardest to emulate, confirms thousands of lightweight tasks run but CPU-bound limits remain, and documents which emulators fully pass the test suite and which need fixes.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:34Explicit scheduling in Stackless
  3. 5:08Generators and coroutines in Python
  4. 7:11Coroutine libraries and resumption
  5. 9:57Basic operations of Stackless and greenlet
  6. 11:21Emulation attempts and challenges
  7. 16:58Testing and correctness of emulators
  8. 22:26Exception handling in coroutines
  9. 31:04Local variables in coroutines
  10. 37:00Environment limits and scalability
  11. 41:19Implementation limitations
  12. 43:55JavaScript coroutines and memory
  13. 50:18Generators and function calls
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.