Tampa Day of Ruby: Iron Ruby

Uploaded on

Short presentation on Iron Ruby for Tampa Day of Ruby

Short presentation on Iron Ruby for Tampa Day of Ruby

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide
  • What languages also run on the DLR?IronPythonManaged JScriptVisual Basic .NET 10IronSchemeIronLispDemo of CLR/DLR interop in console
  • Demo icucumber – Doesn’t work right now 
  • Demo WPF
  • Demo Jimmy Schementi’sRailsConf demo, if time, and working 


  • 1. Will Green http://hotgazpacho.org/ @hotgazpacho
  • 2.  What is IronRuby?  DLR? What?  DLR Services  What can I DO with IronRuby?  Getting IronRuby  Additional Resources
  • 3. + =  Simply put, its Microsoft’s implementation of Ruby that runs on the .Net runtime (CLR)  It is one of many dynamic languages that run in the Dynamic Language Runtime (DLR)
  • 4.  The DLR sits on top of the CLR  It provides services to dynamic languages:  A Dynamic Type System, shared by all languages using DLR services ▪ It doesn’t matter language. If you find a library you like in a language that will run on the DLR, you can use it!  A Hosting API ▪ Host IronRuby (or any DLR language) inside your C#/VB.Net app, even Silverlight!
  • 5. Or, how I learned to stop worrying and love the Dynamic Language Runtime
  • 6.  Test (TDD/BDD) your CLR code with Ruby  Iron Ruby + RSpec was featured in February and March issues of MSDN Magazine  Cucumber wiki on GitHub explains how to set up icucumber.bat, and comes with an example
  • 7.  Build GUIs with a simple DSL  WinForms  WPF  Silverlight  Interact with Silverlight  http://blog.jimmy.schementi.com/2009/03/testing-c- silverlight-apps-with.html  Script desktop apps, like AutoCAD  http://through-the- interface.typepad.com/through_the_interface/2009/0 4/using-ironruby-inside-autocad.html
  • 8.  Yes, you read that right!  Rails now runs on Rack  Rack is a web server interface, kind of like FastCGI  ironruby-rack is an HttpHandler for running rack apps in the ASP.Net Pipeline  ironruby-rack is pretty new, so expect some rough edges  You can leverage your current deployment strategy to deploy Rails
  • 9.  Download the latest release from CodePlex  http://ironruby.codeplex.com/Release/ProjectRele ases.aspx  Download Edge (pre-compiled zip archive)  http://github.com/ironruby/ironruby/zipball/mast er  Get the source and compile yourself  http://wiki.github.com/ironruby/ironruby  You’ll need VS 2008 and MSysGit
  • 10.  http://ironruby.net/  http://rubydoes.net/  http://blog.jimmy.schementi.com/  Jimmy Scementi, IronRuby + Silverlight dev at Microsoft  http://flanders.co.nz/  Ivan Porto Carrero, IronRuby contributor  http://msdn.microsoft.com/en- us/magazine/dd453038.aspx  http://github.com/ironruby/ironruby-contrib  http://ironruby.codeplex.com/  http://code.google.com/p/msysgit/  http://www.microsoft.com/events/series/msdnnetframew ork35.aspx?tab=Videos&seriesid=124&webcastid=6398  IrornRuby for C# devs screencast from Microsoft