News for hackers. Stuff that matters.
Re:How to think about `async`/`await` in Rust by cmrdporcupine on Wednesday July 05, 2023 @11:45AM (#36602067)
This is great until someone calls you through with a multi-threaded task runner and you've just gone and added consistency and race conditions to your code.
Re:How to think about `async`/`await` in Rust by pkolaczk on Wednesday July 05, 2023 @04:03PM (#36606260)
But this approach already works with multithreaded runner and there are no data races or consistency problems. They would be caught by rust borrow checker anyways.