Re:Fast integer overflow detection (2012)
by danbruc on Sunday December 14, 2014 @05:34PM
(#8749819)
Interoperability may be a factor. Everything that enters your world will tell you nothing about the possible ranges and you pretty quickly have to assume the worst case everywhere or add range limiting assertion early. It still sounds like a good idea but maybe it's harder to do than it seems.
[ Parent
| on HN ]
Range checking early doesn't strike me as a bad thing at all.