Dunno, I've never tried it, despite downloading it almost every time a
new version comes out. I don't see the point of scripting in C/C++
personally, as I like Ruby so much better.
I too used to think that object-oriented languages implemented using the
C family should use C++ (never gave much thought to Objective-C [despite
the fact that I like it better than C++] because it's not widely
distributed across platforms), but I've since come to understand that a)
C++ isn't as portable as C; and b) it's useful to not have to keep two
possibly different object models (e.g., C++'s and Ruby's) in one's head
at the same time.
Al
···
-----Original Message-----
From: Asfand Yar Qazi [mailto:im_not_giving_it_here@i_hate_spam.com]
Sent: Friday, July 30, 2004 12:42 AM
To: ruby-talk ML
Subject: Re: Anyone tried compiling Ruby with c++?
Albert Chou wrote:
Maybe Ch (http://www.softintegration.com/\), being an C/C++
interpreter,
supports C++ exceptions?
Al
But is it: a) open source? b) Compatible with GNU G++? c) easy to
use as Ruby?
I think the answer to most / all of these is no. I really wish
Ruby was written in C++, and used C++ exceptions instead of
setjmp / longjmp.
--