DIP74 - where is at?

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 11 20:58:53 PDT 2015


Am Sun, 11 Oct 2015 07:32:26 +0000
schrieb deadalnix <deadalnix at gmail.com>:

> In C++, you need to assume things are shared, and, as such, use 
> thread safe inc/dec . That means compiler won't be able to 
> optimize them. D can do better as sharedness is part of the type 
> system.
 
With the little nag that `shared` itself is not fleshed out.

-- 
Marco



More information about the Digitalmars-d mailing list