Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

async seems sensible for anything subject to internet latency.


Only in languages/runtimes without threads, like Javascript. In Rust, async vs threads is a performance tradeoffs (and it's definitely not always clear who the winner will be), and mostly relevant when you have tasks >> cores. Something like curl would have practically 0 reasons to be async, but of course is still subject to internet latency.




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

Search: