4 Oct
2016
4 Oct
'16
3:02 a.m.
Yann Kaiser wrote:
The way I see it, the great thing about async/await as opposed to threading is that it is explicit about when execution will "take a break" from your function or resume into it.
Another thing is that async/await tasks are very lightweight compared to OS threads, so you can afford to have a large number of them active at once. Rene's approach seems to be based on ordinary threads, so it would not have this property. -- Greg