Article about problems & suggestions for D 2.0

Michel Fortin michel.fortin at michelf.com
Tue Aug 30 17:42:35 PDT 2011


On 2011-08-31 00:01:09 +0000, Sean Kelly <sean at 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.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list