C++17

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 26 12:22:19 PST 2016


On Tuesday, 26 January 2016 at 20:05:16 UTC, deadalnix wrote:
> On the other hand, D's type system can be leveraged to reduce 
> lock contention on the GC (and not lock at all on thread local 
> allocs).

There's no such thing in D.

shared int* i = new int(5);
int* l = new int(5);

these call the same exact functions with the same exact typeid.


More information about the Digitalmars-d mailing list