4 ms·
> 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. >
by varajelle 5y ago
> 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.