C/C++ would be good option to write some of the performance critical aspects of a Ruby Application. I know this is possible.
I would like to know how to add C/C++ code i
you should have a look at SWIG - it allows you to create ruby extensions in C/C++.