News for hackers. Stuff that matters.
Re:Libaco: A fast and lightweight C asymmetric coroutine lib... by snarfy on Saturday July 14, 2018 @11:49AM (#17530778)
Sometimes it's easier to reason about the problem as a bunch of actors acting independently. You only have to model the individual actor and basic interactions as a apposed to a bunch of loops and switch statements trying to model everything. It really depends on the problem.
Re:Libaco: A fast and lightweight C asymmetric coroutine lib... by ur-whale on Saturday July 14, 2018 @11:58AM (#17530822)
> Sometimes it's easier to reason about the problem as a bunch of actors acting independently

For me, this is typically when I'd pick thread over co-routines.