Odd behavior found in GC when terminating application

12345swordy alexanderheistermann at gmail.com
Fri Jan 5 19:18:59 UTC 2018


On Friday, 5 January 2018 at 17:14:58 UTC, Meta wrote:
> On Friday, 5 January 2018 at 15:26:03 UTC, 12345swordy wrote:
>> On Friday, 5 January 2018 at 14:35:44 UTC, Jonathan M Davis 
>> wrote:
>>> On Friday, January 05, 2018 14:29:41 Adam D. Ruppe via 
>>> Digitalmars-d wrote:
>>>> [...]
>>>
>>> Either that or use structs on the stack instead of classes on 
>>> the heap so that you're actually using destructors instead of 
>>> finalizers.
>>>
>>> - Jonathan M Davis
>>
>>
>> There been discussions regarding spiting up the destruction 
>> and finalizers.
>
> I can't find the thread (it's a couple years old at this point, 
> I think), but Andrei once proposed removing class destructors 
> and met very heavy resistance so he dropped it.

Removing it is not the same thing as spiting them up.


More information about the Digitalmars-d mailing list