Program crash: GC destroys an object unexpectedly

eugene dee0xeed at gmail.com
Wed Sep 22 10:21:16 UTC 2021


On Wednesday, 22 September 2021 at 10:05:05 UTC, jfondren wrote:
> Nondeterminism in heap collection is a very common complaint,

It is another kind of nondeterminism that is usually complained 
about
("*sometime* in the future GC will collect if it wants" or so)

> but here we have data is that apparently on the stack that is 
> collected nondeterministically. I can't say I like that.

Exactly, so we've finally come to an agreement, great! :)



More information about the Digitalmars-d-learn mailing list