Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thomasjames
· 7y ago · 0 comments
I had only seen them in the context of userspace threading. I wonder what mainstream libs use them. Do you know of any?
Comments
[–]
fucking_tragedy
7y ago
Generators are a subset of coroutines, and coroutines are useful in lexing and parsing.
[–]
thomasjames
OP
7y ago
Whoops, I meant that use set/longjmp() to implement coroutines. My wording in retrospect was super unclear. Sorry!