D array expansion and non-deterministic re-allocation
BCS
none at anon.com
Mon Nov 16 19:08:06 PST 2009
Hello Walter,
> Nick Sabalausky wrote:
>
>> Deterministic? Only in the same sense that "resize or realloc upon
>> appending" is deterministic.
>>
> 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.
>
> A non-deterministic problem will give you a different result every
> time you run it. Threading problems are an example of this, as are any
> dependencies on uninitialized data.
>
> This particular issue is implementation-defined.
>
would you agree that it is not something the programer can predict in advance?
More information about the Digitalmars-d
mailing list