2 ms·
> In my opinion coroutines are an artificial construct that is very specific to the OS Coroutines are very convenient outside of OS too. Pipeline of operations
by srean 6y ago
> In my opinion coroutines are an artificial construct that is very specific to the OS
Coroutines are very convenient outside of OS too. Pipeline of operations, alternative to event loops, agents in a game, ETL all seem (to me) a lot more natural with coroutines than say with OOP. In some languages one has to resort to (preemptive) OS threads for these. Those end up being very heavy weight.