News for hackers. Stuff that matters.
Re:The Various Kinds of IO – Blocking, Non-Blocking, Multipl... by rubiquity on Sunday May 06, 2018 @11:48PM (#17010279)
As I understand it, stackless and stackful coroutines are an abstraction used on top of evented IO. They all use epoll, kqueue, etc. under the covers.
Re:The Various Kinds of IO – Blocking, Non-Blocking, Multipl... by SideburnsOfDoom on Monday May 07, 2018 @04:30AM (#17011177)
My understanding is the same - in C#, async and await are syntactic sugar for callbacks. The code is massively transformed into a state machine for the events.
Re:The Various Kinds of IO – Blocking, Non-Blocking, Multipl... by ioquatix on Monday May 07, 2018 @09:43PM (#17018171)
Coroutines are useful in their own right, too.