I find the article useful from a "how do C++20 coroutines work" perspective, but these sorts of tutorials don't really help you use coroutines in anything beyond a toy program.
I personally found coroutines are useful only in conjunction with a library wrapping OS system calls to interact with sockets (epoll/iouring on Linux, for instance), providing an event loop, and handles the complexity of multithreading. The most fleshed out one out there is probably boost asio.
I personally found coroutines are useful only in conjunction with a library wrapping OS system calls to interact with sockets (epoll/iouring on Linux, for instance), providing an event loop, and handles the complexity of multithreading. The most fleshed out one out there is probably boost asio.
Nice to see a mirror of my experience.
Nice overview though!
It workz! ;)