Comment Comment by njs12345 > Even rust's memory model has places where it can't do what C++ can. (you can't use atomic to write data from two different threads at the same time)Perhaps not in safe Rust, but can you provide an example of something Rust can't do that C++ can? It has the same memory model as C++20: https://doc.rust-lang.org/nomicon/atomics.html parent njs12345 4 years ago
Perhaps not in safe Rust, but can you provide an example of something Rust can't do that C++ can? It has the same memory model as C++20: https://doc.rust-lang.org/nomicon/atomics.html