2 ms·
fair enough, that was the design choice c++ went with to not break ABI and have moveable coroutine handles rust accepted the tradeoff and can do pure stack asy
by gmadsen 2y ago
fair enough, that was the design choice c++ went with to not break ABI and have moveable coroutine handles
rust accepted the tradeoff and can do pure stack async,
there are things you can do in c++ to not get the dynamic allocation to heap, but it requires a custom allocator + predefining size of coroutines.
https://pigweed.dev/docs/blog/05-coroutines.html https://pigweed.dev/docs/blog/05-coroutines.html