D 1.076 Alpha for Windows 64 bits, works with VS 2010
Brad Roberts
braddr at slice-2.puremagic.com
Fri Sep 28 18:20:12 PDT 2012
On Fri, 28 Sep 2012, Walter Bright wrote:
> 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.
And that's fine for your code, but if you want D and DMD to be a system
that people use for larger systems, then cutting down the sheer number of
things that don't work when pushed is kinda important.
More information about the Digitalmars-d-announce
mailing list