Proposal : allocations made easier with non nullable types.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 9 22:20:55 PST 2009


Chad J wrote:
> Andrei Alexandrescu wrote:
>> Chad J wrote:
>>> Besides safety concerns, what does forbidding manual deletion enable GC
>>> implementations to do?
>> Foregoing delete affords the GC more implementation options.
>>
>> Andrei
> 
> Such as?
> 
> I'm not trying to be antagonistic--manual deletion is a nifty feature to
> me, so if it gets designed away I'd appreciate knowing what great
> advantages justified such a sacrifice.

You need to simply go through a good tutorial on GC implementations, and 
consider the added costs of offering a manual delete primitive.

Andrei



More information about the Digitalmars-d mailing list