Re:A Sad Day for Rust
by dthul on Friday January 17, 2020 @04:07PM
(#22079342)
In Rust you at least know where to look at, whereas in C/C++ all code can be "unsafe". With that said, writing unsafe Rust is much easier to screw up than C/C++, since you have to uphold more invariants in unsafe Rust than in C to avoid UB (like never having two mutable references to the same thing at the same time. The very issue which was raised in the actix repository)
[ Parent
| on HN ]
There are no comments on this comment yet.