Software development industry analysis by Larry O'Brien, the former editor of Software Development and Computer Language
Wednesday, May 03, 2006

In response to a post by Don Box complimenting Ruby, Patrick Logan says: "If Microsoft looks at Ruby as competition then Microsoft has already lost the war."

I take two possible meanings from Logan’s post:

  1. If Microsoft thinks Ruby is important, they're ignoring the threat to them posed by X (where, I suspect, X = LISP), or
  2. If Microsoft thinks Ruby is competition, they will not implement it and therefore be doomed

Not long ago, Microsoft posted a job opening for a developer "first task will be to drive the exploration of other dynamic languages such as Ruby and JavaScript on the CLR", so my feeling is that if Microsoft could get a Ruby on the CLR, they'd be thrilled.

Ruby is not easy to implement on the CLR, at least in part because a complete Ruby implementation requires continuations, which are not modeled within the CLR. This isn't just laziness on the part of langauge implementors. The CLR presents a machine architecture different than the wide-open architecture in which most compiler experience has been gathered. The CLR architecture is safer, but more restrictive, when it comes to manipulating the stack, which is central to continuations. It may be that the CLR will one day gain continuations. It may be that continuations can be implemented using exceptions. Or there may be other clever ways to implement continuations. Or maybe not.

In my opinion, to "cross the chasm" Ruby needs either:

  • implementation on at least one of the two major managed environments; or
  • a native-code implementation combined with a killer, fully-supported IDE

Of course, "and" would be better.

Search
About Larry...
Flickr photostream
Subscribe: RSS 2.0 Atom 1.0
Popular Articles
Programming Sabre with Java, C#, and XML
Genetic Programming in C#
15 Exercises To Know A Programming Language
Top 10 Things I've Learned About Computers From the Movies and Any Episode of "24"
Recently Published Articles
HI
KonaKoder
Categories
Archive
Admin Login
Sign In
Toolroll