Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

Silverlight (and Ruby on the .NET CLR)

By Peter Cooper / May 3, 2007

Silverlight

At MIX07 a few days ago, Microsoft announced "Silverlight", a new Flash-esque .NET-based platform for delivering "media experiences" and "rich interactive applications" on the Web. It's interesting, and some people seem to think it's going to revolutionize the Web, but that's not why we're interested in it at Ruby Inside.

The most interesting part of the Silverlight announcement is that it's based on a subset of the CLR (Common Language Runtime) from Microsoft's .NET platform. The .NET CLR has become a common target for programming language runtimes recently, but Microsoft has officially announced C#, Javascript, VB, Python and Ruby support for Silverlight's CLR. Microsoft are also adding new features in a system called the DLR (Dynamic Language Runtime) to bring more dynamic features (as required by Python and Ruby) to the CLR. InfoQ has more information on this, in terms of Ruby.

What all of this means is that there's baked-in support for Ruby in what could be one of the biggest runtime environments on the Web in the next few years, and this can only be a good thing for Ruby. Jon Udell sat down with John Lam (the creator of RubyCLR) and talked about the DLR, Ruby, and how the whole caboodle works / will work.

Let's cross our fingers and hope this isn't ActiveX all over again.

Comments

  1. John Lam says:

    I'm really happy that I'm able to talk about our Ruby implementation now. Working on Ruby and distributing Ruby via Silverlight was what convinced me to move my family across the continent to work at Microsoft.

    Fun times!

  2. Shazbat says:

    Other people seem to think it's pointless wanking.

    Frankly, why trust Microsoft? They're in the game only to kill Flash (note that they could have used SVG, an open standard, and decided to run off and do their own thing -- NIH much? -- lock-in much?), and as soon as that's accomplished, they'll let it stagnate, just like they did to IE.

  3. Bob Aman says:

    Not interested until there's a Linux runtime available that works on both x86 and x86-64. Even then, I'll still have my misgivings...

  4. jc says:

    Hey John. Thanks for your great work on this! This could be a huge boost for every Ruby developer. As much as I like RJS, I'd definately welcome doing all the "AJAXy" programming natively in Ruby. And if its compiled via CLR, 10x faster.

  5. Mike Moore says:

    @Bob, IronRuby and the DLR are being released under a very permissive license. I expect Mono to support IronRuby and the DLR as soon as they are released. Miguel de Icaza said the following on his blog:

    "The release for the DLR is done under the terms of the Microsoft Permissive License (MsPL) which is by all means an open source license. This means that we can use and distribute the DLR as part of Mono without having to build it from scratch. A brilliant move by Microsoft."

    I suspect Mono will deliver a Linux version of the Silverlight runtime soon after its released. Again, from Miguel's blog:

    "In fact, am kind of happy that Microsoft did not do the port themselves as implementing this sounds incredibly fun and interesting."

    http://tirania.org/blog/archive/2007/May-01.html

  6. Jan Wedekind says:

    Seems like Microsoft is playing down the importance of this by burying the important news with flashy Silverlight videos. I guess they are still interested in establishing C#.
    Now your boss will mistrust you, because you are suggesting Silverlight-scripting to do your work.

  7. CG says:

    ... Microsoft Permissive License (MsPL) which is by all means an open source license ...

    Why couldn't they just use one of the dozen or so available open source licenses. They don't trust anyone and for good reason - nobody trusts them.

    They're off on yet another exciting adventure of "cloning" another good idea Flash - yes the merry band of "borrowers" are ready to get bloated and have fun again. Of course they have Friar Buck to back them up in court.

    Next time they fight with half the states in the US, I suggest the states just mandate Linux for all government and educational purposes instead of a ridicules settlement that is almost impossible to claim. My guess is they might have paid a dime on every dollar they owed.

Other Posts to Enjoy

Twitter Mentions