Hacker News new | past | comments | ask | show | jobs | submit
Ah yes, the "programmers just need to be better" argument.

I would prefer something be impossible by construction.

There are memory-safe options with little/no performance overhead compared to C/C++.

> Ah yes, the "programmers just need to be better" argument.

That's not what I said, don't put words in my mouth.

And yes, programmers need to do better. That's not the answer, but the quality of code that the average programmer outputs is abysmal and could be a lot better simply by giving a shit :D

You can avoid a lot of memory issues in C++ already, yet so many people refuse to use these features (like std::array, boost::synchronized_value, std::unique_ptr). If we used these, we wouldn't solve all memory issues, but we would surely have less.

If you interpret me saying "we should do better" as "we don't need Rust because programmers just need to not make mistakes" then I think the ball is in your court.