Re:Distributed Systems Programming Has Stalled
by gmadsen on Thursday February 27, 2025 @06:04PM
(#43199563)
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.
On coroutines it’s not the network but the L1 cache. You’re better off running a function a dozen times and then running another than running each in turn.