ARM bare-metal programming in D (cont) - volatile

David Nadlinger code at klickverbot.at
Sun Oct 27 04:46:16 PDT 2013


On Saturday, 26 October 2013 at 11:43:02 UTC, Johannes Pfau wrote:
> Well to be honest I don't think there's any kind of spec 
> related to
> shared. This is still a very unspecified / fragile part of the 
> language.
>
> (I totally agree though that it should be specified)

I agree, and thus I think it's dangerous at best and harmful at 
worst to make any recommendations to use shared for anything but 
a mere type tag (with no intrinsic meaning) at the moment.

LDC certainly does not ascribe any special meaning to shared 
variables, and last time I checked, DMD didn't make any of the 
guarantees discussed here either.

David


More information about the Digitalmars-d mailing list