4 ms·
For Rust specifically, the compiler does force safe programs to have no data races. That's actually what the ownership system, Send and Sync are about. If you m
by bilkow 4y ago
For Rust specifically, the compiler does force safe programs to have no data races. That's actually what the ownership system, Send and Sync are about. If you manage to corrupt memory or have undefined behavior in safe Rust, that should be a compiler or library bug.
See https://doc.rust-lang.org/nomicon/races.html https://doc.rust-lang.org/nomicon/races.html