From: Ken Peek Date: 2002-04-20T12:50:25+09:00 Subject: Re: Ruby on .NET? "Ralph Mason" wrote in message news:03fe01c1e7eb$d47da760$0101a8c0@p3... | I have been thinking about this a little lately because I am wanting to | extend RubyCOM to work well with .NET, because I like .net but after ruby C# | and VB just feel cumbersome and slow to program in, besides all that typing | makes my hands hurt :-) | | I don't think there is too much of a problem, I think one could make a ruby | assembly that contains the ruby source, this source is then run by a ruby | interpreter. For this approach a simple clr stub program that extracts the | ruby and passes it to a ruby interpreter (that has a suitable interface to | the .net reflection mechanism), and a ruby 'compiler' to build the assembly. | | Using RubyCOM I can extent com classes in ruby, I think the same could be | done for .NET, the 'require' loader could be extended to load assemblies, | and create stub classes as required for use by the interpreter. | | So one could say | | require " System.Web.UI" | | class MyWebHandler System:Web:UI:Page | ... | end | | It would take a little bit of doing, but I don't think it would be that | difficult (famous last words), certainly easier than building a clr Ruby | compiler. I have been thinking of playing with this using the C# compiled | version of ruby. | | Does anyone else have any thinking on this one, or perhaps done some work on | it? | | Ralph | | ----- Original Message ----- | From: "repeater" | To: "ruby-talk ML" | Sent: Saturday, April 20, 2002 9:06 AM | Subject: RE: Ruby on .NET? | | > recently found: | > http://www.geocities.co.jp/SiliconValley-PaloAlto/9251/ruby/nrb.html | > https://sourceforge.jp/projects/netruby/ | > | > hmm. i'm interested to see how dotnet will influence the interpreted style | > in general, and how it will influence the future of ruby. | > | > regards | > repeater | > > -----Original Message----- | > > From: Ron Jeffries [mailto:ronjeffries@REMOVEacm.org] | > > Sent: 19 April 2002 10:50 | > > To: ruby-talk ML | > > Subject: Ruby on .NET? | > > | > > | > > I scanned the .net threads here and didn't see whether there is, | > > or is not, an | > > effort to put Ruby on .NET. | > > | > > Confess: is there? (Paraphrasing)- The designer of Java: "...I made Java a lot like C++ because that is the language that people are used to programming in..." (Paraphrasing)- The designers of C#: "...We made Java a lot like C because that is the language that people are used to programming in..." (Direct Quote)- Ralph Waldo Emerson, in: "Self Reliance": "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines. With consistency a great soul has simply nothing to do." [Ken Peek]: Java was cool-- after all, Sun copied the great works of UCSD Pascal, and the P-System, which was VERY cool. ".NET" (and it's 'C#' language) are 'cool' too-- after all, Micro$haft is copied the great works of UCSD-Pascal, and Java... It is ALSO very 'cool', to blaze your own trail... Python and Ruby both do this very well. Why would ANYONE with any REAL TALENT want to copy imitators?