Files
rustlings/exercises/24_async
Remo Senekowitsch 38a1078c23 Change story of exercise async1
- Remove confusing use of atomics. Use return values of async tasks
  instead, to ensure all tasks are awaited.
- Remove use of `println!()`, which uses a global lock and cannot be
  executed in parallel.
2026-08-29 22:39:33 +03:00
..
2026-08-29 22:39:33 +03:00

Async

Asynchronous programming is a model where tasks are delegated to a runtime that executes them concurrently. It is particularly efficient for applications where many independent IO-operations are performed, e.g. web servers.

Rust provides the necessary primitives to do asynchronous programming in the language. However, Rust's standard library does not include a runtime. For these exercises, we will use the mainstream runtime called tokio.

Further information