John Regehr personal blog

Undefined Behavior != Unsafe Programming

Are you arguing that undefined behaviour should not be a thing in, e.g., C? It sounds like you’re claiming that the fabled sufficiently smart compiler could take code in a C-like language with no UB, and emit something equivalent to what a C compiler would produce given equivalent input in C that correctly avoids UB…
Points
119
HN comments
70
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2017

On Hacker News

SubmittedTitle on HNPointsComments
Feb 14, 2017Undefined Behavior != Unsafe Programming by steveklabnik11970

More from John Regehr

All 41 posts →

Related posts from the same era