3 ms·
> Oxy heavily relies on open-source dependencies, with hyper and tokio being the backbone of the framework It seems almost every single production async framew
by RcouF1uZ4gsC 4y ago
> Oxy heavily relies on open-source dependencies, with hyper and tokio being the backbone of the framework
It seems almost every single production async framework uses tokio instead of async-std. Has tokio won? Is there a reason in 2023 not to use tokio as the async base?
- shidoshi 4y agoTokio has won.
- nindalf 4y agoRecent downloads on crates.io (like npm for Rust) - Tokio 12.1M - Async-std 1.6M It’s an order of magnitude difference.
- rektide 4y agoDeno has periodically had open github issues or ideas where there's possible paths but tied to Tokio & they seem to want to leave the door open for now. Just one tiny data point but I find it interesting.
- coppsilgold 4y agoBytedance has their in-house monoio <https://github.com/bytedance/monoio https://github.com/bytedance/monoio> (supports io-uring) but it requires rust nightly. On some benchmarks & applications it outperforms tokio by a significant margin. <https://github.com/bytedance/monoio/blob/master/docs/en/benchmark.md https://github.com/bytedance/monoio/blob/master/docs/en/benc...>
- mkj 4y agoAnother async framework might give smaller binaries, important for Linux routers and things.