On 13/06/20 9:37 am, Chris Angelico wrote:
If you don't care where the context switches happen and just want everything to behave sanely by default, use threads, not coroutines.
There are other reasons for using coroutines, such as the fact that they're very lightweight compared to threads. Telling people to "just use threads" without knowing more about their use case is not helpful.