[OT] - C++ exceptions are becoming more and more problematic

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri Feb 25 08:40:12 UTC 2022


On Thursday, 24 February 2022 at 20:27:50 UTC, forkit wrote:
> Replacing exceptions with some radical change, will need to be 
> well justified, and nobody (as far as I can tell), has done 
> that.

Yes, the whole discussion is bogus. The only reason to not use 
exceptions in C++ is in embedded or in inner loops (where you 
typically don't need them anyway). The motivation for providing 
an alternative to exceptions in C++ is that not having an 
embedded-friendly standard library is problematic. It is harmful 
to their eco system.

D needs to focus on core issues. This is not a core issue for D. 
D needs to focus on usability and memory management issues first, 
which is hurting D's eco system.

Or, just *focus* in general… Being all over the map all the time 
is not a good thing for a design process.



More information about the Digitalmars-d mailing list