2 ms·
Data races are possible on some types, specifically `long` when not declared as `volatile` - but these do not directly cause memory unsafety.
by zozbot234 11mo ago
Data races are possible on some types, specifically `long` when not declared as `volatile` - but these do not directly cause memory unsafety.
- ivell 11mo agoNot just some types - any object with members. Shared references are a thing in Java and if not careful can cause data races left and right. Rust controls that quite a bit.