From: "Stephan J. Schmidt" Date: 2002-02-14T23:22:15+09:00 Subject: Re: Ruby and .NET On Thu, 2002-02-14 at 14:27, Patrik Sundberg wrote: > On Thu, Feb 14, 2002 at 10:22:31PM +0900, Stephan J. Schmidt wrote: > > Hi, > > > > a Ruby.NET compiler would not be easily possible, for further > > explainations why the CLR is just "skinnable" C# see > > what features of the ruby language would be hard or impossible to implement? > > > http://www.javalobby.org/clr.html > > this site doesn't seem to answer queries at the moment.. > > > So Ruby# might be possible ;-) > > what would need to be cut? Perhaps the people from the jRuby project could elaborate this. But a.) CLR seems to be static type specific and does not work very good with typeless languages b.) .NET depends on things like attributes. Those would have to be added to Ruby and things have to be done .NET style c.) Prototyping (Cloning objects and adding methods etc.) would be hard to do (Code blocks also). d.) Most of the Ruby specific stuff that can be done (1-3) would be much slower than C# because it has to be wrapped (iterators, code blocks,...), so it boils down to use "def end" instead of "public method { }", so why not use C# in the first place. I think integrating Ruby into Parrot might be a much better idea, or at least jRuby and jPython should throw some resources together and make it easier for other languages to compile to java bytecode. At least Java is more open then .NET. bye -stephan > > > > > bye > > -stephan > > > > On Thu, 2002-02-14 at 14:07, Patrik Sundberg wrote: > > > I have been reading a bit about .NET for the last couple of days and must say > > > I find it quite interesting. To me it seems that creating a Ruby.NET compiler > > > would be fully possible and have been wondering if anyone has started > > > thinking/planing a such project? > > -- > ---------------------------------------------------------------------------. > Patrik Sundberg Address: Rydsv�gen 100C, 584 31 Link�ping, Sweden | > Email: ps@raditex.se || ps@radiac.mine.nu | > Phone: +46 13 178567 || +46 707 602240 | > .---> Applied Physics and Electrical Engineering student | > |-----> Master of Science in Business Administration and Economics student | > |-------> UNIX/Programming consultant | > `--------------------------------------------------------------------------'