4 ms·
I'm not an expert, but I thought safe rust had guaranteed thread safety? https://doc.rust-lang.org/book/concurrency.html https://doc.rust-lang.org/book/concurr
by PhaseLockk 10y ago
I'm not an expert, but I thought safe rust had guaranteed thread safety?
https://doc.rust-lang.org/book/concurrency.html https://doc.rust-lang.org/book/concurrency.html
- sidlls 10y ago"Thread safety" is more than just protection against data races, which (AFAIK--I am quite happy to acknowledge being wrong here) is the guarantee Rust makes.
- steveklabnik 10y agoPart of the issue with that slogan is that "thread safety" doesn't have any specific definition. Yes, we're specifically talking about data races, as well as the general Send/Sync bounds, but for a blurb on the home page, "thread safety" is the best thing we could come up with. Pitches need to be succinct and get the idea across, but due to the succinctness, can't capture 100% of the details.
- sidlls 10y agoNo doubt, and I wasn't intending to ding the docs. Rust docs are a paradigm to be emulated in almost every case in my opinion.
- steveklabnik 10y agoNone taken! This issue has come up on HN before, just trying to clarify and support what you were saying.