Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why Rust mutexes look like they do.
> 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.
> 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.