logoalt Hacker News

thayne • yesterday at 3:50 PM • 2 replies • view on HN

It's more than that. Smart pointer help, but there are cases where even when using smart pointers you can encounter memory safety issues. Especially when you need to interact with c or older c++ code that doesn't use smart pointers. And smart pointers don't provide any protection against data races in multi-threaded code, like rust does.


Replies

LeSaucy • yesterday at 4:26 PM

smart pointers solve a different problem than data races

➕ show 1 reply
tcfhgj • today at 12:01 AM

[dead]