News for hackers. Stuff that matters.
Re:The Safe C Library (2009) by catnaroek on Thursday April 13, 2017 @12:09AM (#14104101)
(0) Memory safety alone doesn't fix the downsides of lacking a formally defined semantics. You can turn most undefined behavior into trapped errors for the cheap price of a constant overhead factor, but that won't make writing correct programs any little bit easier. Your programs will just fail in more manageable ways.

(1) Once you have a formally defined semantics, undefined behavior is no big deal, because you have the tools to prove its absence in whatever program you're writing.

There are no comments on this comment yet.