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

Reply via email to