Sharing in D

Walter Bright newshound1 at digitalmars.com
Thu Jul 31 22:06:50 PDT 2008


Jason House wrote:
> Walter Bright Wrote:
> 
>> http://www.reddit.com/comments/6u7k0/sharing_in_d/
> 
> This is one of my 3 big wishes for the D language.
> 
> The artical talks about shared being transitive just like
> const/invariant. I certainly hope it's more like pure than transitive
> invariant.

Pure doesn't apply to data types, it applies to functions. I don't know 
what you mean.

> Allowing access to thread-local globals is a bad idea.

Why? Global thread local storage is even enshrined into C++0x.




More information about the Digitalmars-d mailing list