55
you are viewing a single comment's thread
view the rest of the comments
[-] sugar_in_your_tea@sh.itjust.works 6 points 2 months ago

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.

[-] nous@programming.dev 6 points 2 months ago* (last edited 2 months ago)

Rust mutexes would be nice. But I think for me that one thing for me would be its enums.

[-] 5C5C5C@programming.dev 5 points 2 months ago

But only if pattern matching were included, otherwise they would be as unpleasant as C++'s std::variant.

this post was submitted on 16 Sep 2024
55 points (100.0% liked)

Rust

5999 readers
9 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS