On 3/6/2014 6:54 PM, bearophile wrote:
Walter Bright:

systems/native programming languages must not hide the underlying
representation (I make similar arguments about proposals to make ints issue
errors on overflow, etc.).

But it's good to have in Phobos a compiler-intrinsics-based efficient overflow
detection on a user-defined struct type that behaves like built-in ints in all
other aspects.

Yes, so that the user selects it, rather than having it wired in everywhere and the user has to figure out how to defeat it.

Reply via email to