Different Executors
There's a lot of different executors available, so you can choose the one that fits what you need.
Executor | Description |
---|---|
Futures | Core abstractions, proof-of-concept executor |
Executor | A minimal executor in 100 lines of code. Works with everything. Very few features. Can run on embedded, web-assembly, without the standard library. A great starting point if you need to implement your own for an embedded or WASM project. |
Async-Std | A standard library for async Rust. As Async abstractions are finished, they are implemented in this library. Also includes a decently performing executor. Seeks maximum compatibility. |
Tokio | Performance-oriented async executor and library. Continually updated, forms the core of Axum, Tungstenite (for web sockets) and other libraries. Includes tracing and telemetry support. The typical choice for enterprise applications. |
For the rest of this class, we'll use Tokio.