DIP-74 Reference Cycles

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 9 01:58:21 PDT 2015


On Thursday, 9 July 2015 at 08:31:39 UTC, Nordlöw wrote:
> On Wednesday, 8 July 2015 at 21:55:49 UTC, Martin Nowak wrote:
>> We're currently overhauling smart ptrs, like Unique and 
>> RefCounted.
>> Among others we'll add class support, rendering most of DIP74 
>> superfluous.
>
> But not everything in DIP74 can be implemented as library 
> extension right?

The escape analysis needs to be in the compiler. Proposed DIPs do 
a poor job at it as they require a bag of tricks instead of a 
principled approach IMO.

The part where refcount is done can be done via library (and 
should IMO).


More information about the Digitalmars-d mailing list