Hacker News new | past | comments | ask | show | jobs | submit login

Can you point to the usage of Duff's device there? I'm not really seeing it.



Following footnotes on Wikipedia led me to this nice clear explanation: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html


Thank you, when I saw this blog post it reminded me that years ago I had seen something similar but even more brain melting - it was PuTTY!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: