D 1.076 Alpha for Windows 64 bits, works with VS 2010
Walter Bright
newshound2 at digitalmars.com
Fri Sep 28 18:01:33 PDT 2012
On 9/28/2012 12:39 PM, Brad Roberts wrote:
> It's more than just catching. That's a relatively minor issue. The
> bigger one is stack unwinding and related cleanups. Consider: c++
> function with local variables that have dtors that calls a D function that
> throws. Those c++ locals will never have their dtors called.
>
> It's not a huge problem, but the sum of the problems add up to pain and
> will need to be fixed at some point. The lack of pain today is that it's
> barely feasible to mix languages where more than one has any exception
> handling right now. Something of a catch-22 of issues, imho.
True, but I would never write code that tried to throw an exception across
language boundaries, anyway. It's just asking for trouble.
More information about the Digitalmars-d-announce
mailing list