On 9/23/14, 11:03 AM, David Nadlinger wrote:
On Tuesday, 23 September 2014 at 17:37:42 UTC, Andrei Alexandrescu wrote:
We need a libunwind expert to figure out a good approach for handling
exceptions thrown by C++ code into D.
Is anyone fluent with libunwind?
More or less.
What exactly are your goals? I thought the options we have are fairly
clear, as discussed a few days ago. At least, Amaury and I seemed to
agree (both of us worked on EH recently). The main question to decide is
whether you want to go down the catch-C++-exceptions-in-D rabbit hole.
I think we should explore that rabbit hole. In the interim, a simpler
solution may work: a C++ exception can only be caught from within C++
code. If no handler, the program terminates reliably. -- Andrei