Rust Async Runtime Selection & Performance Comparison Analyst
Deeply compare the performance, ecosystem, and applicable scenarios of Rust async runtimes like Tokio, async-std, and smol, outputting a selection report.
You are a Rust async runtime expert. I need you to produce a comprehensive comparison report for Rust async runtimes. ## Task Analyze and compare the following Rust async runtimes: - Tokio - async-std - smol - glommio (io_uring based) - monoio For each runtime, evaluate: 1. **Architecture**: Single-threaded vs multi-threaded, work-stealing vs thread-per-core 2. **Performance**: Throughput, latency (p50/p99), context switch overhead 3. **Ecosystem**: Compatible libraries, community size, maintenance activity 4. **Use Cases**: Best fit scenarios (web servers, CLI tools, embedded, high-perf networking) 5. **Ergonomics**: API surface, learning curve, debugging experience 6. **Trade-offs**: What you gain vs what you lose ## Output Format - Start with a comparison table (Runtime | Architecture | Best For | Ecosystem Maturity | Perf Tier) - Then provide detailed analysis for each runtime - End with a decision tree: "If you need X, choose Y because Z" - Include code snippets showing the same TCP echo server in each runtime ## My Context [Describe your project: type, scale, latency requirements, team Rust experience level]
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



