Rb++ vs. swig

Dear wxruby,

Have you looked into RB++ as an alternative to swig?

http://rbplusplus.rubyforge.org/

I’d love to hear your thoughts on this.

Cheers.

hi

Mister Gibson wrote:

Have you looked into RB++ as an alternative to swig?

http://rbplusplus.rubyforge.org/

Yes, I’ve looked into it a little; some comments I’ve had in the past:

http://rubyforge.org/pipermail/wxruby-development/2009-June.txt

And also some discussion on this thread (FFI vs SWIG vs rb++)

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/322464

rb++ does seem neater than SWIG. But there’s a very considerable number
of difficult problems of wrapping wxWidgets in Ruby that are already
solved using SWIG. rb++ also relies a fair bit on C++ namespaces, which
wxWidgets doesn’t use, and SWIG also supports a number of C++ features
which aren’t yet supported in rb++.

but i’m always interested to hear more on this

cheers
alex