3 ms·
>Aside from performance, another very common reason is to not lock the UI from the user. This is not a good fit for parallelism, this is pretty much always acc
by Maxatar 2y ago
>Aside from performance, another very common reason is to not lock the UI from the user.
This is not a good fit for parallelism, this is pretty much always accomplished using concurrency ie. async/await.
- SJC_Hacker 2y agoasync/await uses threads underneath. And sometimes even that paradigm is not sufficient.
- int_19h 2y agoAssuming that the APIs & libraries that you need are async. Which is, unfortunately, not always the case for historical reasons.