News for hackers. Stuff that matters.
Re:Why Rust mutexes look like they do by varajelle on Sunday April 03, 2022 @02:57AM (#30895014)
> One of the common complaints I hear from systems programmers who try Rust is about mutexes [...]

> They don’t want the mutex to contain data, just a lock.

> They don’t want to have to manage a “guard” value that unlocks the mutex on drop [...]

Really? Who think that? Comming from C++ myself, when learning Rust, I immediately liked the Mutex API for these reasons.

There are no comments on this comment yet.