betterC and exceptions

Imperatorn johan_forsberg_86 at hotmail.com
Fri Nov 12 09:04:48 UTC 2021


On Friday, 12 November 2021 at 08:44:08 UTC, Ola Fosheim Grøstad 
wrote:
> What does it take to get some kind of exceptions in betterC?
>
> I would think that it would be sufficient to either limit the 
> size of an exception and provide a fixed size buffer in 
> thread-local-storage (256 bytes).
>
> Yes, that means giving up throwing "strings" and retaining old 
> exceptions, but I think that is acceptable for system level 
> programming.

I think LWDR also tries to solve this.
Maybe a similar approach could be used.


More information about the Digitalmars-d mailing list