Hacker News new | ask | show | jobs
by thomasjames 2485 days ago
I had only seen them in the context of userspace threading. I wonder what mainstream libs use them. Do you know of any?
1 comments

Generators are a subset of coroutines, and coroutines are useful in lexing and parsing.
Whoops, I meant that use set/longjmp() to implement coroutines. My wording in retrospect was super unclear. Sorry!