Advanced Rust
Q88 / 100

What is Rust's async runtime and why isn't one built-in?

Correct! Well done.

Incorrect.

The correct answer is B) Rust intentionally leaves the async executor out of std to allow domain-specific runtimes (tokio, async-std, embassy) with different tradeoffs

B

Correct Answer

Rust intentionally leaves the async executor out of std to allow domain-specific runtimes (tokio, async-std, embassy) with different tradeoffs

Explanation

std only provides Future and async/await syntax. tokio is optimized for network I/O. embassy runs on embedded (no_std). smol is minimal. Different use cases need different executors.

Progress
88/100