Re:Was Rust Worth It?
by speed_spread on Wednesday October 25, 2023 @10:50PM
(#38021122)
Maybe because you want to keep the dependency tree under control and bringing in tokio suddenly adds fifty crates you never asked for. Every crate is a potential liability!
[ Parent
| on HN ]
Tokio is developed very carefully (they’ve even developed their own thread race checker for it – loom).
Adding it to your project probably increases the average code quality:)
Re:Was Rust Worth It?
by speed_spread on Thursday October 26, 2023 @09:08AM
(#38025001)
I don't doubt the code quality but most of the additional crates are not tokio's. Also statistically, any added complexity incurs more risk.