Alternatives to exceptions for error handling

Adam D. Ruppe destructionator at gmail.com
Tue Nov 24 22:41:16 UTC 2020


On Tuesday, 24 November 2020 at 22:14:03 UTC, H. S. Teoh wrote:
> I've said before, and I'll say again: I suspect that most 
> (all?) of the current objections against exceptions comes from 
> the current *implementation* of it, i.e., libunwind, et al..

D used to use a different implementation that I frankly thought 
was superior.

But it moved to this one for compatibility with other 
languages....

Another issue with D's exceptions is the allocation one. dip1008 
seems ok though. Or I tried immutable ones but immutable w/ catch 
is broken af :(


More information about the Digitalmars-d mailing list