From: Hal Fulton Date: 2004-05-14T06:14:37+09:00 Subject: Re: C++ Exception compatibility idea Asfand Yar Qazi wrote: > I'd love it if a language supported a feature whereby a C++ exception > thrown in a C++ function is automatically processed and caught in an > enclosing Ruby raise/rescue block, and a Ruby exception is caught and > processed in a C++ try/catch block. > > Obviously, I could create wrappers that do this at every language > boundary (which is easy) but it would be cool if this was built into the > interpreter, so it could be done without having to go through any hassle. > > I read on the Ruby wiki that it is being considered that Rite be written > (or Riten lol) in C++... could this be a neat little feature? I think this *might* be accomplished with some kind of add-on wrapper lib for C extensions. My knowledge is limited there, so don't take me too seriously. As for implementing Rite in C++, I seem to remember Matz saying he would *not* do such a thing. Where on the wiki did you see the comment? Hal