Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Ace17
· 10y ago · 0 comments
Can QBE do coroutines (e.g 'yield')? Or maybe it's a front-end issue only?
Comments
[–]
ante_annum
10y ago
coroutines and yielding are a pretty high-level concept that I wouldn't expect to see in a backend, but there's a really great explanation of how to map them to low-level concepts here:
http://llvm.lyngvig.org/Articles/Mapping-High-Level-Construc...
[–]
andrewchambers
10y ago
the same author actually has a tutorial on how to write green threads yourself
http://c9x.me/art/gthreads/intro.html