Y
Hacker News
new
|
ask
|
show
|
jobs
by
oasisaimlessly
717 days ago
What about stackful coroutines? They don't necessarily change the API.
2 comments
zbentley
717 days ago
Why does stackfulness not color functions? So long as preemption/parallelism boundaries are manually annotated, I don’t think stackful coroutines save you anything here.
link
anonymoushn
717 days ago
Just don't annotate them? The design of async is a wound that can be bandaged by dumping all your registers on the stack and jumping.
link
LegNeato
717 days ago
Check out
https://github.com/jonnadal/fibril
link