News for hackers. Stuff that matters.
Re:Libaco: A fast and lightweight C asymmetric coroutine lib... by amelius on Saturday July 14, 2018 @05:42AM (#17529600)
> Coroutines are basically just user-space threads

Except you don't have preemption, so you may get e.g. latency issues.

Re:Libaco: A fast and lightweight C asymmetric coroutine lib... by coldtea on Saturday July 14, 2018 @06:04AM (#17529658)
Whereas with threads you don't get latency issues?
Re:Libaco: A fast and lightweight C asymmetric coroutine lib... by amelius on Saturday July 14, 2018 @06:16AM (#17529692)
With threads, latency problems are spread out more evenly by design.
Re:Libaco: A fast and lightweight C asymmetric coroutine lib... by blattimwind on Saturday July 14, 2018 @08:14AM (#17530008)
Ah well, experience tells us that scheduling latency under load with Linux is a difficult topic.