Async Rust has spent years arguing with itself about what asynchronous code should feel like. Out of that argument came two runtimes that shaped the ecosystem: Tokio and async-std. Both let you write non-blocking network services, both use the same underlying language features, and both are maintained by capable teams. But they begin from different premises about what an async runtime is, and that premise leaks into everything from API design to how you debug a stalled task.
Tokio treats the runtime as an explicit engine you configure and tune for throughput, while async-std treats it as an extension of the standard library that should disappear into the background, and that difference decides how much control you have.
Understanding this is useful even if you never switch, because it explains a lot of otherwise confusing advice in the Rust community.
Part One: What is being compared
Tokio grew out of a production need to handle very large numbers of concurrent connections efficiently. It exposes a multi-threaded, work-stealing scheduler, a reactor for I/O, timers, and a rich set of utilities for channels, synchronization and task control. Its API is deliberately explicit: you spawn tasks onto a runtime, you choose the flavour of runtime, and you opt into features. The documentation talks about scheduling, cooperative budgeting and backpressure because those are things you are expected to reason about.
async-std started from a different intuition: if asynchronous code is going to be mainstream, it should look as much like ordinary Rust as possible. It offers an API that mirrors the standard library, with async versions of files, network types and collections. It aimed for a gentler learning curve and a runtime that largely stays out of the way. Under the hood it uses its own scheduler and implementation, but the surface is intentionally familiar.
The important point is that these are not just two sets of helper functions. Each runtime owns the executor that polls your futures, and futures from one runtime are generally not interchangeable with another. Choosing one is a commitment that affects libraries you pick later.
Part Two: The mechanism behind the difference
A runtime's job is to poll thousands of futures efficiently and wake only the ones that can make progress. Tokio's scheduler uses a per-worker queue with work stealing, which lets a busy core take work from an idle one. It also has a cooperative budget: a task that never yields can be preempted after a fixed number of operations, so one misbehaving future cannot starve every other task on that worker. These are throughput-oriented choices. They make Tokio good at serving huge numbers of connections, and they also mean the runtime has behaviour you can observe and sometimes need to tune.
async-std's design leans toward simplicity of use. Its executor aims to be good enough by default without exposing as many knobs. For a small service or a command-line tool, that is a real advantage: less time spent learning runtime internals, more time spent on the actual problem. The cost shows up at scale and in debugging. When something goes wrong, there are fewer levers to pull and less literature about the runtime's internal scheduling decisions.
A practical consequence is that the ecosystem has largely standardised around Tokio for servers, while async-std remains pleasant for smaller tools and for codebases that value a standard-library-like API over maximum control.
Part Three: The arithmetic of a decision
Imagine a service handling fifty thousand simultaneous WebSocket connections, each mostly idle but each needing to wake on a message. Per-connection memory must stay small, wake-ups must be cheap, and no single connection should be able to block the rest. Tokio's mature scheduler, its cooperative budgeting and its large ecosystem of compatible libraries make this the well-trodden path. The cost is that the team needs to understand concepts like task cancellation, Send bounds and runtime flavours, and that knowledge has a real onboarding price.
Now imagine an internal tool that fetches a few dozen URLs, processes them and exits. It is asynchronous mainly because the libraries you want are async, not because you need massive concurrency. Here the heavy machinery of a tuned runtime is unnecessary. async-std's familiar API reduces the mental overhead, and the performance difference is irrelevant because the workload is tiny. The same language feature serves both cases, but the right runtime differs.
There is also a hidden cost in switching. Because the two runtimes own their executors and their I/O types, moving a codebase from one to the other is not a small refactor. Libraries frequently declare a dependency on one runtime, and mixing them usually means running two executors or adding bridges. This is why the choice is worth making early and why it is usually not worth revisiting unless there is a concrete problem.
Part Four: A everyday example
Consider a developer writing a small program that checks a hundred websites and reports which are down. The program runs once an hour. Using a runtime that mirrors the standard library makes the code read like ordinary Rust, which matters because the developer may return to it six months later and want to understand it quickly. The performance ceiling is irrelevant; clarity wins.
Consider the same developer building the public API those websites talk to. Now the program runs continuously, handles unpredictable bursts and must stay responsive under load. The runtime's scheduler, cancellation semantics and backpressure behaviour become part of the product's reliability. A team will happily accept a steeper learning curve in exchange for control they can actually use during an incident.
What is actually transferable
The lesson here is that abstraction level is a real engineering decision. A runtime that hides its internals is easier to start with and harder to debug at the edge. A runtime that exposes its internals is harder to learn and more powerful when things go wrong. Neither is universally better; they serve different points in a project's life.
A second lesson is about ecosystem lock-in. In async Rust the runtime choice propagates into dependencies, so it is more like choosing a database than choosing a formatting library. The pragmatic advice is to pick the one that matches the shape of the workload and then stay with it, rather than treating the decision as reversible.
Tokio and async-std both let Rust handle concurrency without threads per connection. Tokio sells control by exposing the engine, while async-std sells familiarity by hiding it, and the better choice is the one whose assumptions match the size and lifetime of the thing you are building.
SOL: HCqPmPJM3NVtS6YrmVaTZYnuP8XZ2PFgQZKT94VK1LkS
Creating this takes real effort — thank you for the support.



