On Tuesday, 16 February 2016 at 17:15:17 UTC, Jardík wrote:
But if I couldn't use GC and do all allocations and deallocations manually, I wouldn't even be able to use exceptions and there would also no longer be much reason to write it in D. I did some searching and came into discussion and there found out that in case of an error thrown, D just forcibly unwinds the stack without running destructors or scope guards. Is that true? Can I even catch that Error?

Such errors are static errors, they aren't allocated on the stack, a 128 bytes buffer is shared accross threads to keep them.

Reply via email to