News for hackers. Stuff that matters.
Re:Looking at Unity made me understand the point of C++ coro... by affenape on Wednesday March 25, 2026 @08:49AM (#47516649)
Not necessarily. A coroutine encapsulates the entire state machine, which might pe a PITA to implement otherwise. Say, if I have a stateful network connection, that requires initialization and periodic encryption secret renewal, a coroutine implementation would be much slimmer than that of a state machine with explicit states.

There are no comments on this comment yet.