I hate class destructors with a burning passion

apz28 home at home.com
Sun Jun 6 15:01:31 UTC 2021


On Sunday, 6 June 2021 at 11:54:40 UTC, Mathias LANG wrote:
> Over the past few months, more than half of the critical bug 
> we've encountered which were not due to our own code are 
> related to destructors. Specifically, destructors being invoked 
> by the GC.
>

Is there anyway to build runtime with pre-allocated buffer on 
startup and use it to return error-text/stack-trace?
This is how Delphi does for out of memory exception & when using 
debug build runtime


More information about the Digitalmars-d mailing list