
4 Mar
2010
4 Mar
'10
10:19 a.m.
Mathias Gaunard wrote:
A significant advantage of not using coroutines or fibers with Asio is that you use as little memory per task as you need, while using a coroutine requires having a stack and other context data.
Unless, of course, you use stack-less co-routines, e.g., see Asio documentation/Examples/HTTP Server 4. Cheers, Rutger