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/