Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

IronRuby: Ruby on the .NET Platform


Published on

Presentation slides for IronRuby: Ruby on the .NET Platform, given by Andre John Cruz on 23 May 2009 at the Community Technology Update in Microsoft Singapore

Published in: Technology
  • Be the first to comment

IronRuby: Ruby on the .NET Platform

  1. 1. Ruby on the .NET Platform Andre John Cruz Microsoft MVP – C#
  2. 2. IronRuby Ruby on the .NET Platform Introduction Why Ruby? Dynamic Language Runtime (DLR) Invoking the DLR in C# code Silverlight in Ruby Possible directions
  3. 3. Introduction Ruby is growing in popularity Mostly because of the Rails web framework Expressive language (you’ll see later!) Expressiveness is POWER IronRuby Microsoft project to have Ruby running on the .NET platform Similar efforts elsewhere: JRuby, MagLev, Rubinius… IronRuby 0.5.0 was just released 20 May 2009
  4. 4. Why Ruby? See for yourself… Expressive syntax (POWER!) Dynamic typing Look ma, no interfaces Mixins Metaprogramming Can _______ (fill the blank) do that?
  5. 5. Dynamic Language Runtime (DLR) Factored out from IronPython development One runtime for all dynamic languages out there IronPython IronRuby VBx Managed Javascript …maybe more, from the community? Can be embedded into CLR applications
  6. 6. Invoking the DLR Demo: calling IronRuby inside a C# app
  7. 7. Silverlight with Ruby Demo: Silverlight web app, written in IronRuby
  8. 8. Downsides No IDE integration…yet No LINQ tools…yet Web-based apps (ASP.NET, Silverlight) need Chiron tool Need to include IronRuby and DLR into Silverlight XAP file to be sent to client browser No WPF data binding…yet
  9. 9. Possible directions Polyglot programmer trend Use the best language for the task Use the best platform for the task…the .NET Framework  DLR gives apps instant scripting capabilities IronRuby (and IronPython) to have better support in Visual Studio for app development We should see cool app frameworks for WPF, Silverlight and ASP.NET (and even ADO.NET) soon!
  10. 10. Questions?
  11. 11. References Why’s Poignant Guide to Ruby: My blog: