3 ms·
What about stackful coroutines? They don't necessarily change the API.
by oasisaimlessly 2y ago
What about stackful coroutines? They don't necessarily change the API.
- zbentley 2y agoWhy does stackfulness not color functions? So long as preemption/parallelism boundaries are manually annotated, I don’t think stackful coroutines save you anything here.
- anonymoushn 2y agoJust 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.
- LegNeato 2y agoCheck out https://github.com/jonnadal/fibril https://github.com/jonnadal/fibril