The majority if not all of the IronRuby libraries have been written in C# so far. There have been discussions about this on the mailing list before.
There are a number of Ruby libraries that have been written in Ruby. Once IronRuby is fully compliant then it should be able to load these and run them straight up. Obviously stuff that cannot be written in Ruby (such as accessing hardware devices and so on) has to be written in something else. In CRuby these libraries are written in C. In IronRuby these are written in a .NET language (i.e. C#). That being said, since IronRuby provides .NET interop then it is conceivable to write a Ruby library in Ruby and bounce out to the .NET framework classes as necessary. Obviously performance issues must be taken into account. Also, there are issues discussed recently about packaging up such Ruby libraries when deploying to Silverlight. Pete -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of C.J. Adams-Collier Sent: Wednesday,07 May 07, 2008 15:10 To: [email protected] Subject: Re: [Ironruby-core] Code Review: socket2 I see that the Ruby.StandardLibrary.RubySocket is implemented in C#. Is it common to write the core in C#? Has anything been written in Ruby itself? Sorry for the newbie question... is there a FAQ for this type of situation? _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
