Scott Meyers' DConf 2014 keynote "The Last Thing D Needs"

Jesse Phillips via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed May 28 07:56:51 PDT 2014


On Wednesday, 28 May 2014 at 14:39:53 UTC, anonymous_me wrote:
> The first line:
>
>   int x2; // (at global scope)
>
> The x2 resides in Thread Local Storage (TLS). A __gshared would 
> put it in global scope.
> Still initialized to int.init which is zero.

D doesn't have global scope. C++ does not do TLS but that isn't 
relevant to the no cost position that C++ is taking.


More information about the Digitalmars-d-announce mailing list