3 ms·
Rust protects against data races, not race conditions. https://doc.rust-lang.org/nomicon/races.html https://doc.rust-lang.org/nomicon/races.html
by sa46 3y ago
Rust protects against data races, not race conditions.
https://doc.rust-lang.org/nomicon/races.html https://doc.rust-lang.org/nomicon/races.html
- Ar-Curunir 3y agoGo doesn’t protect against even those, which is what the parent meant
- sa46 3y agoGo cannot catch data races at compile time (like Rust) but can catch a subset of data races at run time with the race detector. Go provides imperfect, opt-in protection.