Can GC be beneficial - Thread.

kris foo at bar.com
Sat Mar 11 11:54:28 PST 2006


Bruno Medeiros wrote:
> Mike Capp wrote:
> 
>> In article <dusjqh$24jq$1 at digitaldaemon.com>, Kris says...
>>
>>>> I think the one language that can be used to assess a combo of GC,
>>>> efficiency goals, and deterministic finalization is D.
>>>
>>> I'd agree, except that D does not have deterministic finalization. 
>>> Far from it.
>>
>>
>> Sure it does. Old-style "auto". It's very limited compared to C++'s
>> deterministic finalization, but in some ways that's the point. It 
>> forces users
>> to find out the hard way whether or not that level of support is enough.
>>
> 
> And there is also 'delete', which is pretty deterministic, no? :P
> 
> 

Aye;

yet, I vaguely recall 'delete' does not invoke the dtor ... perhaps the 
wrong kind of finalization :)



More information about the Digitalmars-d mailing list