News for hackers. Stuff that matters.
Re:Async Rust doesn't have to be hard by felipellrocha on Friday June 03, 2022 @06:05PM (#31614268)
It isn’t, though. The point is that you *can* write it without thr Arc<Mutex<>> and gain significant speed without it. Even if your first iteration started with it.
Re:Async Rust doesn't have to be hard by thaneross on Saturday June 04, 2022 @01:01AM (#31617156)
To add to this point, even if you season your Rust code liberally with Arc<Mutex<>>, the libraries you use probably don't, and you'll still get most of the performance benefits.