但要实现极致性能的网络中间件还有一定距离。为了这个目标,CloudWeGo Rust Team 探索基于 io-uring 为 Rust 提供异步支持,并在此基础上研发通用网关。 本文包括以下内容:1. 介绍 Rust 异步 Runtime;... #[inline(never)] async fn do_http() -> i32 { // do http request in async way 1 } pub async fn sum() -> i32 { do_http().await + do_http().await +1 } ```这个过程...