Y
Hacker News
new
|
ask
|
show
|
jobs
by
Ace17
3714 days ago
Can QBE do coroutines (e.g 'yield')? Or maybe it's a front-end issue only?
2 comments
ante_annum
3714 days 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...
link
andrewchambers
3714 days ago
the same author actually has a tutorial on how to write green threads yourself
http://c9x.me/art/gthreads/intro.html
link