News for hackers. Stuff that matters.
Re:A Universal I/O Abstraction for C++ (2020) by gpderetta on Monday April 19, 2021 @03:20AM (#26859918)
The proposed async "framework" happens to work well with coroutines, but they are not required (and infact most of the papers on the topic deal with them only in passing). You can build the async graph as an expression template and if you want, each operation (including the while loop) can be expressed as a different type.

I don't think coroutines provide (yet) enough introspection to break them down in the same way.

Re:A Universal I/O Abstraction for C++ (2020) by jcelerier on Monday April 19, 2021 @03:22AM (#26859928)
I see, that solves it then. Great !