D array expansion and non-deterministic re-allocation
Nick Sabalausky
a at a.a
Mon Nov 16 13:10:05 PST 2009
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:hdr6mm$1bf0$1 at digitalmars.com...
> Rainer Deyke wrote:
>> Walter Bright wrote:
>>> It's deterministic in the sense that if you run the program again with
>>> the same inputs, you will get the same result. This is a highly useful
>>> attribute for testing and debugging.
>> On the same platform, with the same compiler, compiler settings, and
>> standard library implementation. That makes it harder to test, not
>> easier. You now have to test with multiple compilers.
>
> That is still determinate. Indeterminate means you get different results
> if your run it again on the same machine.
>
Even if it is technically determinate if you run it on the same machine with
the same inputs, that still does nothing to address Bartosz's claim that
it's a potential security hole - Apps don't always get run on the same
machine with the same inputs.
More information about the Digitalmars-d
mailing list