Get the latest tech news
Async Rust in Three Parts
↫ Home Async Rust in Three Parts 2024 October 23 - Introduction (you are here) - Part One: Futures - Part Two: Tasks - Part Three: IO Async/await, or "async IO", is a new-ishRust added async/await in 2019. For comparison, C# added it in 2012, Python in 2015, JS in 2017, and C++ in 2020.
For comparison, C# added it in 2012, Python in 2015, JS in 2017, and C++ in 2020. language feature that lets our programs do more than one thing at a time. Async is popular with websites and network services that handle many connections at once,​"Many" here conventionally means ten thousand or more. We'll get to the details in Part One, but for now we can add some more prints to see that join_all doesn't take any time, and none of foo s start running until we.await the joined future.
Or read this on Hacker News