55
[BLOG] Why Rust mutexes look like they do - Cliffle
(cliffle.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Exactly. If there's only one thing I could bring from Rust into another language, it would be Mutexes. It's so nice to guarantee safe access to data.
Rust mutexes would be nice. But I think for me that one thing for me would be its enums.
But only if pattern matching were included, otherwise they would be as unpleasant as C++'s
std::variant
.