IronRuby: Ruby on the .NET Platform

1,635 views
1,587 views

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
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,635
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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 www.ironruby.net sdlsdk.codeplex.com www.ruby-lang.org Why’s Poignant Guide to Ruby: http://poignantguide.net/ruby/ My blog: devpinoy.org/blogs/cruizer

×