[Proposal] Weak reference implementation for D

robert jfanatiker at gmx.at
Mon Oct 14 06:42:00 PDT 2013


>
> Easy, man. I have never met morons here, except, probably, 
> myself.

My apologies if I got you wrong!

>
> So you code is incorrect and lets show it. When you give your 
> code for eating to the compiler, it can does whatever it want 
> but guarantee your program will work as you have written it 
> (except special cases like copy construction elimination) and 
> it doesn't assume every variable can be accessed from other 
> threads. E.g. here is you code with unwinded loop in SSA 
> (static single assignment) form:
> ...

Damn it, you are right I did not think this through, somehow 
thought the use in addrOf is enough, which is of course crap. 
Thank's a lot for your time, I'll fix this ASAP. It is so 
obviously wrong now, it really hurts. Ouch.

Thanks again!


More information about the Digitalmars-d mailing list