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.
You can use exceptions without the GC and D offers a lot of other things too.
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?
No, not generally.
Can I even catch that Error?
Yes.
