News for hackers. Stuff that matters.
Re:How to think about `async`/`await` in Rust by GolDDranks on Wednesday July 05, 2023 @05:29AM (#36597899)
Rust pretty much alleviates these dangers. At least no memory safety bugs because of multithreading. Logic bugs are still possible, of course, but the channel API and the scoped thread API in the standard library do help with those.
Re:How to think about `async`/`await` in Rust by mgaunard on Wednesday July 05, 2023 @05:40AM (#36597985)
That is not true at all, "fearless concurrency" gives no valuable guarantees at all and is widely seen as one of the worst concurrency models in literature.
Re:How to think about `async`/`await` in Rust by GolDDranks on Wednesday July 05, 2023 @06:03AM (#36598165)
I don't dispute that, but I thought you were having C++ with threads as the starting point, in which case Rust very much gives you valuable guarantees.