|Developer(s)||Microsoft Dynamic Language Runtime Team|
|Stable release||IronRuby 1.0 / April 12, 2010|
|Preview release||IronRuby 1.1.3 / March 13, 2011|
|Operating system||Windows Linux Mac OS X|
|Platform||.NET Framework, Mono|
|Type||Ruby programming language compiler|
|License||Apache License, v2.0|
IronRuby is an implementation of the Ruby programming language targeting Microsoft .NET framework. It is implemented on top of the Dynamic Language Runtime (DLR), a library running on top of the Common Language Infrastructure that provides dynamic typing and dynamic method dispatch, among other things, for dynamic languages.
The project is currently inactive, with the last release of IronRuby (version 1.1.3) being in March 2011.
On April 30, 2007, at MIX 2007, Microsoft announced IronRuby, which uses the same name as Wilco Bauwer's IronRuby project with permission. It was planned to be released to the public at OSCON 2007.
On July 23, 2007, as promised, John Lam and the DLR Design Team presented the pre-Alpha version of the IronRuby compiler at OSCON. He also announced a quick timeline for further integration of IronRuby into the open source community.
On August 31, 2007, John Lam and the DLR Design Team released the code in its pre-alpha stage on RubyForge. The source code has continued to be updated regularly by the core Microsoft team (but not for every check-in). The team also does not accept community contributions for the core Dynamic Language Runtime library, at least for now.
The team actively worked to support Rails on IronRuby. Some Rails functional tests started to run, but a lot of work still needed to be done to be able to run Rails in a production environment.
Version 1.0 became available on 12 April 2010, in two different versions:
- The preferred one, which runs on top of .NET 4.0.
- A version with more limited features, which ran on top of .NET 2.0. This version was the only one compatible with Mono
In July 2010, Microsoft let go Jimmy Schementi, one of two remaining members of the IronRuby core team and stopped funding the project. In October 2010 Microsoft announced the Iron projects (IronRuby and IronPython) were being changed to "external" projects and enabling "community members to make contributions without Microsoft's involvement or sponsorship by a Microsoft employee".
The last published release of IronRuby was on 13 March 2011 as version 1.1.3.
IronRuby may run as well on Mono as it does on Microsoft Common Language Runtime (CLR), but as the IronRuby team only tests it with the CLR on Windows., it may not build on Mono depending on the build.
The interoperability between IronRuby classes and regular .NET Framework classes is very limited for the moment because many Ruby classes are not .NET classes. However, better support for dynamic languages in .NET 4.0 may increase interoperability in the future.
<script>-tags. It is then also possible to modify embedded XAML markup.
The technology behind this is called Gestalt.
The same works for IronPython.
IronRuby is integrating RubySpec, which is a project to write a complete, executable specification for the Ruby programming language. The IronRuby Git repo includes a copy of the RubySpec tests, including the MSpec test framework.
On 16 July 2010, Microsoft re-licensed IronRuby along with the DLR under the Apache License, v2.0
- Shay Friedman, "IronRuby Unleashed", Sam's, 2010, ISBN 0-672-33078-4
- Ivan Porto Carrero and Adam Burmister, "IronRuby in Action", Manning, 2010, ISBN 1-933988-61-4
- S. Somasegar. "Early look at IronRuby". Retrieved 2007-07-25.
- "RubyForge: IronRuby: Project Info". Retrieved 2007-09-07.
- Wilco Bauwer. "Microsoft's Iron Ruby". Archived from the original on 2007-09-29. Retrieved 2007-07-24.
- John Lam. "Microsoft and IronRuby". Retrieved 2007-06-18.
- John Lam. "A First Look at IronRuby". Retrieved 2007-07-23.
- Lam, John. "IronRuby on Rubyforge!". Retrieved 2007-08-31.
Today, you must check the source code out of the IronRuby Subversion repository on Rubyforge. You will need a Subversion client; we recommend TortoiseSVN. To build the sources from the command line, you must also have Ruby installed on your computer alreadyc
- Lam, John (2008-04-29). "Regarding IronRuby... How true it sounds from this blog". Retrieved 2008-05-25.
The DLR is does not accept contributions from the community (...) Today we do not push to SVN on every successful SNAP check-in
- Lam, John (2008-07-24). "IronRuby at OSCON". Retrieved 2008-08-04.
We’re shipping our first binary release. In this package, we’re taking a “batteries included” approach and shipping the Ruby standard libraries in it
- "IronRuby on Rails". Retrieved 2008-05-25.
- Lam, John (2008-05-24). "IronRuby r112 is out". Retrieved 2008-05-25.
- Lam, John (2008-05-25). "IronRuby / Rails Question". Retrieved 2008-05-25.
I don't think we're near the end game yet :) We're barely able to run Rails functional tests now, and there's a lot more library work to be done before we can start thinking about deployment
- Schementi, Jimmy (2008-05-25). "IronRuby at RailsConf 2009". Retrieved 2008-05-25.
IronRuby running Rails is not new, but doing it well or completely – is. IronRuby can now run real Rails applications, rather than just toy-hello-world examples. This does not mean IronRuby on Rails is ready for production, but it’s a great measure of forward progress
- "IronRuby 0.9". 2009-07-23. Retrieved 2009-08-03.
- Cangiano, Antonio (2009-08-03). "Comparing the performance of IronRuby, Ruby 1.8 and Ruby 1.9 on Windows". Retrieved 2009-08-03.
- "IronRuby 1.0RC1". 2009-11-20. Retrieved 2009-12-29.
- "IronRuby 1.0 release notes". 2010-04-12. Retrieved 2010-04-17.
IronRuby now comes in two flavors - one that runs on top of .NET 4.0, and one that runs on any earlier framework starting with .NET 2.0 SP1. The .NET 4.0 flavor features faster startup time, compatibility with C#’s dynamic keyword, and access to the new features in .NET 4.0. So, the .NET 4.0 flavor is the preferred download now, as the Microsoft .NET Framework 4.0 is publicly available as of today. For Mono compatibility, use the zip file release for 2.0 SP1.
- "MRI 1.8.7 compatibility". 2010-02-12. Retrieved 2010-03-06.
- "MRI 1.8.7 compatibility". 2010-02-14. Retrieved 2010-03-06.
IronRuby 1.0.x releases: ONLY ruby-1.8.6 compatible; IronRuby 1.x releases: ONLY ruby-1.9 compatible
- "It's not you, it's me: Microsoft kills IronRuby". InfoWorld. 2010-08-11. Retrieved 2012-12-28.
- Schementi, Jimmy (2010-08-06). ""Start spreading the news": the future of Jimmy and IronRuby". Retrieved 2012-12-28.
Overall, I see a serious lack of commitment to IronRuby, and dynamic language on .NET in general. At the time of my leaving Tomas and myself were the only Microsoft employees working on IronRuby
- Zander, Jason. "New Components and Contributors for IronPython and IronRuby". Microsoft. Retrieved 27 December 2014.
- "IronRuby 1.1.3". ironruby.codeplex.com. 2011-03-13. Retrieved 2013-05-19.
- Miguel de Icaza (2009-07-27). "Improving Mono's compatibility with .NET CLR". Retrieved 2009-08-03.
For as long as we remember, most new versions of IronPython, IronRuby or the Dynamic Language Runtime exposed new missing functionality in Mono
- Sanghyeon, Seo (2008-08-06). "IronRuby and Mono". Retrieved 2008-09-13.
- Vander Schelden, Wim (2008-09-04). "IronRuby and Mono". Retrieved 2008-09-13.
- Hall, Ben (2009-01-23). "DLR Daily Builds (including IronRuby)". Retrieved 2009-01-23.
- Porto Carrero, Ivan (2009-05-26). "mono builds". Retrieved 2009-06-05.
- Hagenlocher, Curt (2008-12-16). "Xna+IronRuby+RubyNewb=headache". Retrieved 2008-12-20.
- Brotherus, Robert (2008-12-12). "WPF databinding with ruby objects". Retrieved 2008-12-13.
- IronRuby in the browser - IronRuby.net
- "RubySpec". Retrieved 2010-10-23.
The IronRuby GIT repo includes a copy of the RubySpec tests, including the MSpec test framework, under External.LCA_RESTRICTED\Languages\IronRuby\mspec. This makes it easy to modify existing tests or write new tests, and fix the bugs in the IronRuby sources, all in a single commit to the IronRuby repo.
- "IronRuby License". 2010-07-16. Retrieved 2010-07-27.
- IronRuby home page
- IronRuby on Codeplex
- IronRuby source code
- S. Somasegar's blog entry announcing IronRuby
- State of IronRuby by John Lam at RubyConf 2007
- IronRuby: The Right Language for the Right Job by John Lam at PDC2008