"There really isn't anything we can do to prevent memory safety vulnerabilities from happening if the programmer doesn't want to write their code in a robust manner" is funny because it's hard to do it right even if you care. The way you do things right consistently is make it easier to do it right than do it wrong.