Struct with default ctor (Was: [dmd-beta] dmd 2.064 beta take 2)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun May 19 06:13:07 PDT 2013


On 5/19/13 9:11 AM, deadalnix wrote:
> On Sunday, 19 May 2013 at 13:08:53 UTC, Andrei Alexandrescu wrote:
>> Sounds like a race problem unrelated to null. With non-null objects
>> the race would have manifested itself in a different way, perhaps even
>> more pernicious.
>>
>
> It is both a race condition and a null problem.

No, it's just a race condition.

> And having non nullable
> type would have been a compile time error instead of days of debugging.

No, the race condition would have stayed.


Andrei


More information about the Digitalmars-d mailing list