[Haskell-cafe] C++ exception (from *.so) catchable by Haskell??

Brandon Allbery allbery.b at gmail.com
Thu Feb 13 23:14:12 UTC 2014


On Thu, Feb 13, 2014 at 6:07 PM, Nick Rudnick <nick.rudnick at gmail.com>wrote:

> Oh, I am reworking an FFI interface to C++, and thought it would be neat
> to give it a nice exception handling, too. As you appeared quite
> experienced and I consider this to be a practical issue occurring not too
> seldom, I hoped you might refer to some project, where C++ exception
> handling is realized.
>

Then I was apparently insufficiently clear before, so let me try to be
clearer here: The ONLY way to handle C++ exceptions is from C++. You can't
handle them from Haskell, or even from C.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140213/0090c390/attachment.html>


More information about the Haskell-Cafe mailing list