Blog
One of the common complaints I hear from systems programmers who try Rust is about mutexes, and specifically about the Rust Mutex API. The complaints usually go something like this: 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...

One of the common complaints I hear from systems programmers who try Rust is about mutexes, and specifically about the Rust Mutex API. The complaints usually go something like this:

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 – often, more specifically, they just want to call an unlock operation because they feel like that’s more explicit.

Show More

Recommended by
Recommendations from around the web and our community.

Another great post, this blog is golden