logoalt Hacker News

dabinat • yesterday at 5:10 PM • 0 replies • view on HN

> Even the basic logic is flawed.... That coders can't be trusted to handle pointers, but somehow can be trusted to write "safe" unsafe rust.

Who said anything about trust? The purpose of unsafe blocks is that you have specific, limited areas of your code that can be audited for safety. With C your entire codebase needs to be audited.

Also, other languages “trusting” people to use pointers correctly has gone pretty badly.