Integer overflow and underflow semantics
Alex Rønne Petersen
alex at lycus.org
Fri May 18 10:39:32 PDT 2012
On 18-05-2012 19:28, akaz wrote:
>> I agree that throwing an exception could be a good feature to have,
>> but it should *not* be the default. I want my systems code to run at
>> full speed when I know what I'm doing.
>
> In the release version, yes. In the release version, array bound
> checking is disabled, too.
>
> But in the debug version?
It should be controllable with a command line option just as
-noboundscheck. I'll revise what I said: It can be on in debug for all I
care, as long as I can disable it independently of what mode I'm
compiling in.
--
Alex Rønne Petersen
alex at lycus.org
http://lycus.org
More information about the Digitalmars-d
mailing list