Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The example about signed overflow misses the point, on good code it results in a performance improvement. Similar for dereference of null pointers; it allows the compiler to remove visible successive checks(e.g if you call *ptr, then all further calls to ptr will not be null until it is written to). This makes it faster to express preconditions but let the compiler make safer code faster.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: