News for hackers. Stuff that matters.
Re:A tale of two’s complement by angersock on Monday December 29, 2014 @06:35PM (#8812448)
So, I'm not really caring about memory safety--there are lots of reasons to care, mind you, but that's not my concern.

It's that, quite simply, not being able to easily catch integer arithmetic errors is a really annoying flaw in a language that needs to do systems work--especially if it's used in places where, say, you are decoding buffers or handling IO or basically getting data from an untrusted/faulty source.

It could even be done as a basic addition to the standard library...I frankly don't care how. It's just that it is a really obvious wart to anyone that's ever had to do safe integer work in the lingua-franca of languages, C.

Just because the program doesn't crash doesn't mean it's being useful.

Re:A tale of two’s complement by kibwen on Wednesday December 31, 2014 @01:27AM (#8818444)
As mentioned in the OP, support for checked arithmetic does exist in the stdlib, and has for ages.