DConf talk : Exceptions will disappear in the future?

Max Haughton maxhaton at gmail.com
Tue Jan 5 19:49:20 UTC 2021


On Tuesday, 5 January 2021 at 19:42:40 UTC, Ola Fosheim Grøstad 
wrote:
> On Tuesday, 5 January 2021 at 18:23:25 UTC, sighoya wrote:
>> No error handling model was the HIT and will never be, 
>> therefore I would recommend to leave things as they are and to 
>> develop alternatives and not to replace existing ones.
>
> Or implement C++ exceptions, so that D can catch C++ exceptions 
> transparently (ldc catch clang++ exceptions and gdc catch g++ 
> exceptions).

Walter already got quite a lot of the way there on that. There 
are some PRs on dmd about it but it's not in a state worth 
documenting yet if it's still there (the tests are still there so 
I assume it still works)


More information about the Digitalmars-d-learn mailing list