liveBook · Manning

Async runtime

An async runtime is software that schedules asynchronous tasks and drives their suspended computations toward completion.

How 2 Manning books explain it

Rust Servers, Services, and Apps

An asynchronous runtime is software that schedules and executes nonblocking asynchronous operations and tasks.

How it is used
Schedules I/O-waiting tasks so web services can continue processing other work.
How deep it goes
Explains executor polling, waking, and a custom timer Future, while deferring a full explanation of pinning.
Examples
Contrasts simulated sequential and concurrent file reads, then builds a timer Future with an expiration time.
What you can do after
Apply it via Tokio: spawn and join async tasks, then implement a Future that wakes the executor when ready.

Read how Rust Servers, Services, and Apps explains async runtime →

Learn Rust in a Month of Lunches

An async runtime is software that schedules asynchronous tasks, drives Future polling, and determines when suspended computations are polled again.

How it is used
Manages Future polling and provides the execution boundary required to run asynchronous Rust code.
How deep it goes
Explains Pending and Ready, await placement, macro behavior, and runtime expansion, but does not develop runtime internals.
Examples
Uses async_give_8, compiler errors, Tokio macro expansion, and a reqwest HTTP request.
What you can do after
Operate asynchronous Rust programs with Tokio, .await, async functions, and runtime-managed program entry points.

Read how Learn Rust in a Month of Lunches explains async runtime →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.