|
|
|
|
|
by agumonkey
3217 days ago
|
|
coroutines are tacos, and monads are burritos. Repeat after me. ps: for the author, my only theory about the 0s sleep is that coroutines aren't preempted like threads, they use collaborative concurrency, so unless they actually say "ok I agree to pause now and let others do something" well the interpreter will evaluate all the instructions until completion. My 2 cents |
|