News for hackers. Stuff that matters.
Re:Why choose async/await over threads? by bsder on Monday March 25, 2024 @04:13AM (#39813784)
You are not reading it wrong, and your statements are accurate.

My broader point is that the possibility of there being a "technically better" construct was simply not in scope for Rust. In order for Rust to capture Javascript programmers, async/await was the only construct that could possibly be considered.

And, to be fair, it worked. Rust's growth has been almost completely on the back of network services programming.

Re:Why choose async/await over threads? by withoutboats3 on Tuesday March 26, 2024 @08:47AM (#39827166)
This comment is a lie.