Hacker News new | past | comments | ask | show | jobs | submit login

>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.




Assuming that the APIs & libraries that you need are async. Which is, unfortunately, not always the case for historical reasons.


async/await uses threads underneath. And sometimes even that paradigm is not sufficient.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: