# Microsoft brings Ruby to the browser?

**URL:** <https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048>\
**Category:** Ruby\
**Created:** [May 1, 2007, 5:58am UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048 "2007-05-01T05:58:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 1, 2007, 5:58am UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/1 "2007-05-01T05:58:24Z")

</div>

Via TechCrunch:

“Silverlight will now include a mini-CLR (Common Language Runtime)  
from .NET. As with the usual .NET runtime, with Silverlight you can  
code in a number of supported programming languages. At this time the  
languages supported are C#, Javascript (ECMA 3.0), VB, Python and  
Ruby. The Python and Ruby interpreters were built by Microsoft and  
have been released under their shared source license meaning that  
developers can get access to the code and are able to make  
contributions to it.”

> **[Silverlight: The Web Just Got Richer | TechCrunch](https://techcrunch.com/2007/04/30/silverlight-the-web-just-got-richer/)**
>
> Update: Listen to our podcast interview with Silverlight product manager Brian Goldfarb at TalkCrunch. Today at Mix07 Microsoft made a number of major announcements, mostly around the recently-released Silverlight (formerly known as Windows...

Has anybody played around with this yet, or know what subset of Ruby  
will be supported?

---

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 1, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/2 "2007-05-01T20:50:41Z")

</div>

There is more meat to this now that MIX07 has concluded.

There will be the Dynamic Language Runtime which extends the CLR.

> From Miguel De Icaza ([http://tirania.org/blog/](http://tirania.org/blog/))  
> Binaries of the DLR were released as part of Silverlight 1.1, and the  
> source code was included with IronPython 2.0 (also released today).

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.

During the keynote they announced support for four dynamic languages  
built on top of the DLR: Python, JavaScript (ECMAScript 3.0), Visual  
Basic and Ruby.

The real details can be found at: Jim Hugunin’s Thinking Dynamic -

> **[Jim Hugunin's Thinking Dynamic](https://learn.microsoft.com/en-us/archive/blogs/hugunin/)**

This looks like something to watch.

---

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 1, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/3 "2007-05-01T21:26:45Z")

</div>

removed\_email\_address@domain.invalid wrote:

> 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.

Can someone confirm (or not) that this means one can write Ruby code,  
compile it to DLR, and run it on Mono?

I.e., I can write and deploy [Ruby.net](http://Ruby.net) code all on my Linux boxen?

That would be super bad.

–  
James B.

“I can see them saying something like ‘OMG Three Wizards Awesome’”

- billinboston, on [reddit.com](http://reddit.com)

---

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 1, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/4 "2007-05-01T21:35:47Z")

</div>

“James B.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote in message  
news:removed\_email\_address@domain.invalid…

> Can someone confirm (or not) that this means one can write Ruby code,  
> compile it to DLR, and run it on Mono?
> 
> I.e., I can write and deploy [Ruby.net](http://Ruby.net) code all on my Linux boxen?

So far I have only heard MS people talk about Windows and the Mac. I  
believe, in principle, deployment on any platform should be possible but  
it  
is my understanding that it is up to the developers of browsers  
specifically  
to add the necessary support. There should be a few more technical  
details  
released by MS during the next few days so this may become clearer then.

best wishes  
Huw C.

[http://www.sapphiresteel.com](http://www.sapphiresteel.com)  
Ruby P.ming In Visual Studio 2005

---

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 2, 2007, 8:38am UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/5 "2007-05-02T08:38:15Z")

</div>

About 5/6 of the way through this demonstration (using a Safari  
browser),  
Ruby is shown running directly in the browser alongside Python, Jscript  
and Visual Basic. They are being used to manipulate a XAML canvas.

The downloadable alpha 1.1 version of this “DLRConsole” at  
([http://silverlight.net/community/communitygallery.aspx](http://silverlight.net/community/communitygallery.aspx))  
has only Python and Jscript however. Ruby will be released “later”.

Many more details are in this interesting talk between John Udell  
and John L… [http://channel9.msdn.com/Showpost.aspx?postid=304541](http://channel9.msdn.com/Showpost.aspx?postid=304541)

The Adobe guys aren’t too impressed. Ted Patrick (Flex Evangelist) says  
“The shroud of the dark side has fallen, begun the clone war has.” -  
Yoda  
[http://www.onflex.org/ted/2007/04/m-silverlight-vs-adobe-flash-player.php](http://www.onflex.org/ted/2007/04/m-silverlight-vs-adobe-flash-player.php)

How complete is it? Time will tell.

– Mike B.

---

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 2, 2007, 8:40am UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/6 "2007-05-02T08:40:12Z")

</div>

Mike B. wrote:

> About 5/6 of the way through this demonstration (using a Safari  
> browser),  
> Ruby is shown running directly in the browser alongside Python, Jscript  
> and Visual Basic. They are being used to manipulate a XAML canvas.

Missed the video link.  
[http://silverlight.net/learn/learnvideo.aspx?video=74](http://silverlight.net/learn/learnvideo.aspx?video=74)

---

<div class="post-metadata">

**Author:** ![bct](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bct](https://www.ruby-forum.com/u/bct)\
**Post date:** [May 1, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/microsoft-brings-ruby-to-the-browser/103048/7 "2007-05-01T21:34:46Z")

</div>

On 5/1/07, James B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 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.
> 
> Can someone confirm (or not) that this means one can write Ruby code,  
> compile it to DLR, and run it on Mono?

Yes, when IronRuby is released it should run just fine on Mono, just as  
IronPython runs today. Miguel’s latest blog entry states that he is  
planning on using Microsoft’s DLR code directly in Mono. They can do  
that  
because of the license Microsoft is using for IronPython, IronRuby, and  
the  
DLR.

In fact, it looks like Mono may be implementing the Linux version of the  
Silverlight plug-in using the Mono code-base.

> **[Mix 07, Silverlight, Dynamic Languages Runtime and OpenSource - Miguel de Icaza](https://tirania.org/blog/archive/2007/May-01.html)**
>
> Miguel de Icaza's Blog

I.e., I can write and deploy [Ruby.net](http://Ruby.net) code all on my Linux boxen?
