Hacker News new | past | comments | ask | show | jobs | submit login

Is it formal methods to conclude that the vast majority of arithmetic, which for the software I typically write consists of iterators and buffer offsets dealing with fixed size buffers, can never overflow an int? Is it formal methods when I conclude that the 12-bit output from an ADC cannot overflow a 32-bit int when squared? Is it formal methods to conclude that a system with 256 kilobytes of RAM is not going to have more than 2^31 objects in memory? I guess I do formal methods then, at an enormous cost. Sometimes I have runtime checks with early bail outs that allow code later down the stream to be optimized.



There are always exceptions, of course.

But then again, there's also the Ariane 5.




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

Search: