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-ish​Rust 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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of parts

parts

Photo of Async Rust

Async Rust

Related news:

News photo

Starlink imposes $100 “congestion charge” on new users in parts of US

News photo

Electric outboard startup Pure Watercraft is selling itself for parts

News photo

Japan Swelters Through Hottest Summer While Parts of China Log Warmest August on Record