"Exceptions will fade away in modern languages"

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sat Nov 28 11:00:54 UTC 2020


On Friday, 27 November 2020 at 19:42:01 UTC, IGotD- wrote:
> On Friday, 27 November 2020 at 19:36:50 UTC, Ola Fosheim 
> Grostad wrote:
>>
>> Mixing languages is undefined behaviour... So, probably not?
>
> Unwinding isn't really connected to any language. It is a part 
> of the CPU architecture runtime ABI even if it might be 
> partially implemented in C or C++. Several languages glue to 
> this ABI in order to implement their stack unwinding.

Just saw a pullrequest that does suggest that they use the 
regular libunwind as they argued about the license. But the docs 
still says that you need to catch errors at FFI boundaries.


More information about the Digitalmars-d mailing list