A
Asfand Yar Qazi
Hi,
I have a dream... no, it doesn't involve little black kids and
little white kids, it involves Ruby (or some other scripting
language) and C++.
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?
Thanks,
Asfand Yar
I have a dream... no, it doesn't involve little black kids and
little white kids, it involves Ruby (or some other scripting
language) and C++.
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?
Thanks,
Asfand Yar