Two interesting Python tutorials
A great explanation about "yield" followed by a discussion of coroutines and more:
- Generator Tricks for Systems Programmers
- http://www.dabeaz.com/generators/Generators.pdf
In the sequel, he goes into even more detail and the uses all the information to write an operating system in Python.
- A Curious Course on Coroutines and Concurrency:
- http://www.dabeaz.com/coroutines/Coroutines.pdf
TrackBack
TrackBack URL for this entry:
http://everythingsysadmin.com/cgi-bin/mt-tb.cgi/632
Comments
Wow, this is absolutely motivating.
I knew generators were cool, but I had never seen the full extent of their power.
Posted by: Gabriel at December 21, 2011 1:04 AMPost a comment

