News for hackers. Stuff that matters.
Re:The Downsides of C++ Coroutines by nazcan on Saturday August 12, 2023 @04:18PM (#37103871)
Because you have to keep explicitly passing state between each callback, rather than just using the same context (which still has the ability to delete things if needed).
Re:The Downsides of C++ Coroutines by mgaunard on Saturday August 12, 2023 @07:22PM (#37105115)
State capture with lambdas is implicit, and only explicit if you want it to be.