Re:Coroutines in C
by narag on Sunday February 25, 2024 @04:06PM
(#39504758)
Coroutines are fun, but in real code please consider using actual threads. Modern processors have many cores, but coroutines will (often) only use a single core.
Threads and coroutines have different purposes. Coroutines are more about logical structure.
Threads and coroutines have different purposes. Coroutines are more about logical structure.