Interested in D, spec confuses me.

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 3 07:08:22 PST 2016


Another nice property of immutable data is that it can be safely 
shared between threads: const data that is a readonly view into 
changing mutable data may require locking to get consistent view 
of data; immutable data doesn't require locking, since it doesn't 
change.


More information about the Digitalmars-d mailing list