A Ruby WishList

// http://www.ruby-talk.com/blade/2710
// http://www.ruby-talk.com/blade/5961
Thank you, these were awesome reading.

//
//> - Ruby on .Net
//
//There has been some efforts on this. This will require at least a
//partial rewrite of Ruby probably to C#. I’d rather see Ruby
//being ported
//to Parrot first though (Parrot will also run on Windows and a myriad
//others that .NET/Mono won’t).

I beg to disagree that Ruby’d rather be ported to Parrot. When it comes
to .net, I (would like to think I) understand somethings. See Ruby is a
lovely language, truly. Where Microsoft is taking the .Net framework is
indicatoive of making the framework the future runtime for the windows
operating system, at par if not better than the services offered to the
C runtime. Like for example some of the new API available in Loghown
will be completely managed API. Also the way Miguel’s (Mono) team is
working, Mono will be fairly mainstream on *nix boxes as well.

The popularity of ruby will depend less on how many diverse machines it
runs on and more on how many populist systems it can embrace.

Don’t get me wrong, all I am saying is that the .net is geared to go
places and it already is in the enterprise spehere. The merits of
platform that provides a true level playing field across languages is
slowing showing its strenght in the enterprise. That is probably an
amazing oppurtunity for Ruby to leverage because the expressive power
that the language provides is awesome. To be at par with enterprise
computing with C# or VB.net will only ensure Ruby’s survival for a long
time.

Please do give it some thought before you let it go.

//> - Auto initialisation of variables
//
//If you don’t declare variables first, Ruby can’t know if it’s
//a method
//or a local variable:
//
// def sum; …; end
// def sum=; …; end
// sum = sum+1 # this will invoke the sum and sum= methods.
//
// sum = 2
// sum = sum+1 # this will increment the sum local variable.
//
// sum # now if you don’t declare it first, what is sum? a
// # method or a local variable
//
//However, you don’t need to predeclare $global or Constant
//because they
//can’t be confused with methods.

Well the syntax I suggested with <> simply could apply primitive value
intialisation to types that have not been declared before, without much
ambiguity. Or am I missing something?
Let me paste it here:

Like I could probably replace:
sum = 0
prod = 1
10.times {|n| sum = sum + n; prod = prod * n }
with
10.times {|n| sum = sum<0> + n; prod = prod<1> + n; }

<http://pensieve.thinkingms.com/CommentView,guid,1a1045a1-bec1-45c7-97e9
-f3c9f7937cc7.aspx>

InterScan_Disclaimer.txt (520 Bytes)

I repeat my official answer for Ruby on .NET:

I am not going to write an interpreter on .NET (nor on Parrot) but
anyone else can.

In the future, people may use Ruby on .NET or Ruby on Parrot daily,
and my interpreter would be a reference implementation.

						matz.
···

In message “Re: A Ruby WishList” on 04/04/22, “James, Roshan (Cognizant)” JRoshan@blr.cognizant.com writes:

Don’t get me wrong, all I am saying is that the .net is geared to go
places and it already is in the enterprise spehere. The merits of
platform that provides a true level playing field across languages is
slowing showing its strenght in the enterprise. That is probably an
amazing oppurtunity for Ruby to leverage because the expressive power
that the language provides is awesome. To be at par with enterprise
computing with C# or VB.net will only ensure Ruby’s survival for a long
time.

Please do give it some thought before you let it go.

Ow ow ow. The concept of a Microsoft platform providing a “true level
playing field” for anything just made by brain hurt.

···

In message “Re: A Ruby WishList” on 04/04/22, “James, Roshan (Cognizant)” JRoshan@blr.cognizant.com writes:

Don’t get me wrong, all I am saying is that the .net is geared to go
places and it already is in the enterprise spehere. The merits of
platform that provides a true level playing field across languages is
slowing showing its strenght in the enterprise.