Magicloud Magiclouds wrote:
> Dear all,
>    As I read ruby's code, I think it is possible to convert ruby
> scripts to c codes. But I searched on www.rubyforge.org, and got two
> tools which do not do real convertion. By real convertion, I mean to use
> c like "extend ruby with c".
>    The benifits, I think, are more easily interacting with libs writen
> by c, especially something like glib or qt. And more stable, e.g.
> rcairo, is very unstable.

Do you mean something like this:

http://www.onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html

or this:

http://www.rubyinside.com/how-to-create-a-ruby-extension-in-c-in-under-5-minutes-100.html

I do not know how accurate this is - but maybe this gives you a start.

Stefan