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

> If I launch 2 network requests from my async JavaScript and both are in flight then that’s concurrent.

That's because JS conflates the two. The async keyword in JavaScript queues things for the event loop which is running in a different thread, and progress will be made on them even if they are never awaited. In Rust, for example, nothing will happen unless those Futures are awaited.





Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: