The effect on storage for statics is fantastic. I wasn't suggesting changing that, if that's what you meant.
Sent from my iPhone On Aug 30, 2011, at 5:42 PM, Michel Fortin <michel.for...@michelf.com> wrote: > On 2011-08-31 00:01:09 +0000, Sean Kelly <s...@invisibleduck.org> said: > >> I'd like to say that the 'shared' attribute on member functions should >> just mean "make this member visible through a shared reference" and do >> away with the memory barriers idea entirely, except that D really does >> need some form of atomics. I'm really not sure what the solution is >> here. > > I think D needs some kind of knowledge about memory regions into its type > system. The challenge is to not add too much complexity. > > > -- > Michel Fortin > michel.for...@michelf.com > http://michelf.com/ >