Hacker News new | ask | show | jobs
by IceMichael 997 days ago
Still looking for a lib that supports fibers... boost::asio is... well, boost, and therefore annoying. It also does not support it out of the box
3 comments

Boost asio is available as a standalone lib as well. What do you mean it doesn't support "it" out of the box?
Asio has no coroutine implementation and C++20 Coros are stackless. So, to build fibers with asio, you need boost::coroutine for stackful coros.
Asio has strands which may be an alternative depending on the use case.