Re:Why Bloat Is Still Software's Biggest Vulnerability
by ptx on Friday February 09, 2024 @06:12PM
(#39321661)
Isn't that the idea that unsafe code can do unsafe things internally while exposing a safe interface? So in your example the bug would be in the unsafe code, which shouldn't have allowed the unsafety to leak into the safe code.
[ Parent
| on HN ]
Re:Why Bloat Is Still Software's Biggest Vulnerability
by BobbyTables2 on Friday February 09, 2024 @06:58PM
(#39322003)
Yes, but by that same logic, safe programs can also be written C.
However, I do believe Rust gets a whole lot of things right.
I sincerely hope that unnecessary use of unsafe code is avoided.