h1. IronRuby Jimmy Schementi I work for Microsoft (picture of a storm trooper) h2. Last year IronRuby had just dispatched the first Rails request ever IronRuby is maturing - it's not quite there yet, but it's maturing It's running Rails programs like Rails and Sinatra, gems and Rake h2. Runs in "the real world" It runs in .NET How do we merge with the .NET world? h2. Growing up (Windows 7 on a Macbook Pro) h2. Example require 'mscorlib' include System .NET namespaces and Ruby modules maps very well to each other Classes are classes Namespaces are modules h3. iirb (console) h2. IronRuby running Rails IronRuby uses 35 seconds to start Rails It works with SQL Server and Express: github.com/jschemeti/activerecord-mssql-adapter ActionPack: 94% pass rate ActiveRecord: 29% fail rate - most failures due to a couple of small bugs ActiveSupport: 90% pass rate h2. ... and Sinatra Takes about 8 seconds to start h2. Performance It takes 35 seconds to start Rails, 2 seconds for the first request and 0,056 sec for subsequent requests The same numbers for MRI is 6.5, 0.5 and 0.022 h2. IronRuby is a real Ruby implementation We think it is important to make Rails run well h2. Deploying Rails to Windows h3. Rack support ironruby-rack: Rack interface between IIS and IronRuby h3. Configuring IronRuby ties into IIS through an HTTP handler Currently this HTTPhandler has a global lock around the entire code, because it was written before Rails was thread-safe h3. RubyEngine A path into Ruby from C# There is no spooky marshalling - it's Ruby running IIS h3. References You can just drop IronRuby and gems into the bin directory h2. Magic Library for working with WinForms, Silverlight and WPF h2. ironruby-contrib People doing ruby stuff for IronRuby h2. Questions h3. Running on Mono Use two guys fork of IronRuby to run on Mono h3. Why is Microsoft funding IronRuby We are making Ruby to help MS customers staying on the platform