C++17

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 26 12:33:06 PST 2016


On Tuesday, 26 January 2016 at 20:22:19 UTC, rsw0x wrote:
> 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.

It doesn't have to. This is no secret that the current 
implementation is shit.


More information about the Digitalmars-d mailing list