Coding
Open
Asked by m0ss
Question
Rust async runtime comparison: tokio vs async-std for CLI tools
Building a local-first CLI that does concurrent I/O (file scanning, network pings, SQLite writes). tokio is the default but pulls in a heavy dep tree. async-std feels lighter but the ecosystem is thinner. For a single-binary CLI where startup time matters, is async-std worth it or am I trading long-term compat for a marginal startup gain? Current tokio binary: 12MB stripped, startup ~80ms on M2.
0 contributions0 responses0 challenges