[Ironruby-core] IronRuby on Netbeans

Curt Hagenlocher curth at microsoft.com
Wed Aug 27 10:25:45 EDT 2008

Mario Gutierrez writes:

> Would anyone use IronRuby within ASP.NET MVC? The Ruby MVC frameworks
> are much more elegant taking advantage of dynamic nature of Ruby.
> ASP.NET MVC would be a downgrade.

There are at least two good reasons someone might want to use IronRuby with ASP.NET MVC.  The first is that you may be in an environment where IIS and/or ASP.NET is mandated but still want the flexibility of a dynamic language.  The second is performance.  With IronRuby, it's possible to run multiple ScriptRuntimes within a single process, giving a reasonable amount of isolation within a single process.  The level of isolation can be increased further by running in multiple AppDomains.  In contrast, Rails targets an environment where the expectation is that isolation will be achieved by running in separate processes -- and there's a performance cost for that.

It remains to be seen how much of this is mitigated by the recent work done to add thread-safety to Rails 2.2.

The flip side of this is that there's a good deal of work that needs to be done before any of this is a reality.

Curt Hagenlocher
curth at microsoft.com

More information about the Ironruby-core mailing list