@[email protected] to [email protected]English • 3 days ago[BLOG] Why Rust mutexes look like they do - Clifflecliffle.commessage-square18fedilinkarrow-up151arrow-down10
arrow-up151arrow-down1external-link[BLOG] Why Rust mutexes look like they do - Clifflecliffle.com@[email protected] to [email protected]English • 3 days agomessage-square18fedilink
minus-square@sugar_in_your_tealink4•2 days agoExactly. 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.
minus-square@[email protected]linkfedilinkEnglish5•edit-22 days agoRust mutexes would be nice. But I think for me that one thing for me would be its enums.
minus-square@[email protected]linkfedilink4•19 hours agoBut only if pattern matching were included, otherwise they would be as unpleasant as C++'s std::variant.
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
.