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.