Hello David,

> -----Original Message-----
> From: David Ross [mailto:drossruby / yahoo.com]
> Sent: Friday, July 23, 2004 12:05 AM
> To: ruby-talk ML
> Subject: Re: Ruby rocks! HELP converting Ruby to C++?
>
>
> > If you need to use C++ code from within Ruby, take a
> > look at SWIG:
> > http://www.swig.org/.
> >
>
> I'm pretty sure he is not wanting any Ruby code in his
> program or depending on Ruby.
>
You are correct.

> > If you want to translate an existing wxRuby code
> > into C++... I don't
> > know of any automated tool that'll help you do that,
> > but the wxRuby
> > interface is fairly similar to the wxWidgets calls.
> >
>
> It might be similar but implementation is very
> different. You have to deal with all the nice C-based
> language ways. Points, References, Memory locations,
> nice callbacks, function pointers, yadda yadda yadda.
> All fun and, C++ compiles :).

I feel have a fairly good grasp on compiling and linking C++ console
programs on my Windows 2000 machine.  Yeah right, I can even get this simple
code to work.  I am working on getting up to speed in wxWidgets for C++.

> Too bad we don't have a
> Rubycc compiler yet. --David Ross
>
It seems that the main reason to use C++ is not just that C++ compiles, its
that there is so much C++ legacy code out there.

Todd