3 ms·
The point is you can still write memory safe code and avoid all the double free and user after free bugs if you just use smart pointers correctly and standard n
by ActorNightly 4y ago
The point is you can still write memory safe code and avoid all the double free and user after free bugs if you just use smart pointers correctly and standard namespace constructs. You can be extra safe and use unique pointers and transfer ownership.
Sure, there are some things that Rust makes nice, like compile time checking for errors, however with C++ codebases, they will just result in runtime errors rather than usable exploits.