Sharing in D
Walter Bright
newshound1 at digitalmars.com
Fri Aug 1 17:27:34 PDT 2008
superdan wrote:
> and if you forgot to put volatile your plan is fucked right there. i
> take issue with c++0x and java 5 equally. they suck shitty goat
> balls. they *allow* you to write correct code. same as the police
> allows you to climb mt everest.
I think you put your finger on the problem. The default behavior of C++
and Java is to do the wrong thing. You have to do extra work to do the
right thing. D tries to reverse that by making the default the correct
thing, and you have to work extra to screw it up.
>> Are you saying that there will be an automatic notion by the
>> compiler that implements the fences,
Yes.
More information about the Digitalmars-d
mailing list