IronRuby explained

IronRuby
Author:Microsoft Dynamic Language Runtime Team
Developer:.NET Foundation
Latest Release Version:IronRuby 1.0
Latest Preview Version:IronRuby 1.1.3
Programming Language:C#
Operating System:Windows, Linux, macOS
Platform:.NET Framework, Mono
Genre:Ruby programming language compiler[1] [2]
License:Apache License 2.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.

History

On April 30, 2007, at MIX 2007, Microsoft announced IronRuby, which uses the same name as Wilco Bauwer's IronRuby project with permission.[3] It was planned to be released to the public at OSCON 2007.[4]

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.[5]

On August 31, 2007, John Lam and the DLR Design Team released the code in its pre-alpha stage on RubyForge.[6] 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.[7]

On July 24, 2008, the IronRuby team released the first binary alpha version, in line with OSCON 2008.[8] On November 19, 2008, they released a second Alpha version.

The team actively worked to support Rails on IronRuby.[9] [10] 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.[11]

On May 21, 2009, they released 0.5 version in conjunction with RailsConf 2009. With this version, IronRuby could run some Rails applications, but still not on a production environment.[12]

Version 0.9 was announced as OSCON 2009.[13] This version improved performance.[14] Version 1.0 RC1 became available on November 20, 2009.[15]

Version 1.0 became available on April 12, 2010, in two different versions:

The IronRuby team planned to support Ruby 1.8.6 only for 1.0 point releases, and 1.9 version only for upcoming 1.x releases, skipping support for Ruby 1.8.7.[17] [18]

In July 2010, Microsoft let go Jimmy Schementi, one of two remaining members of the IronRuby core team, and stopped funding the project.[19] [20] 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".[21]

The last published release of IronRuby was on March 13, 2011 as version 1.1.3.[22]

Architecture

Mono support

IronRuby may run as well on Mono as it does on Microsoft Common Language Runtime (CLR),[23] but as the IronRuby team only tests it with the CLR on Windows.,[24] it may not build on Mono depending on the build.[25] [26] [27]

.NET interoperability

The interoperability between IronRuby classes and regular .NET Framework classes is very limited because many Ruby classes are not .NET classes.[28] However, better support for dynamic languages in .NET 4.0 may increase interoperability in the future.[29] [30]

Silverlight support

IronRuby was supported on Silverlight. It could be used as a scripting engine in the browser just like the JavaScript engine.[31] IronRuby scripts were passed like simple client-side JavaScript-scripts in <script>-tags. It is then also possible to modify embedded XAML markup.[32]

The technology behind this was called Gestalt.[33]

//DLR initiation script.

The same worked for IronPython.[34]

Testing infrastructure

IronRuby integrated 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.[35]

License

IronRuby was previously released under the Microsoft Public License, which is OSI-certified BSD-style license.[36]

On July 16, 2010, Microsoft re-licensed IronRuby along with the DLR under the Apache License 2.0.[37]

Further reading

See also

External links

Notes and References

  1. Web site: Early look at IronRuby. S. Somasegar. S. Somasegar. July 25, 2007.
  2. Web site: RubyForge: IronRuby: Project Info. September 7, 2007. https://web.archive.org/web/20160925061950/http://rubyforge.org/projects/ironruby/. September 25, 2016. dead.
  3. Web site: Microsoft's Iron Ruby . Wilco Bauwer . July 24, 2007 . https://web.archive.org/web/20070929025914/http://www.wilcob.com/Wilco/IronRuby/microsoft_ironruby.aspx . September 29, 2007 . dead .
  4. Web site: Microsoft and IronRuby . John Lam . June 18, 2007 . dead . https://web.archive.org/web/20070612185141/http://www.iunknown.com/2007/05/microsoft_and_i.html . June 12, 2007 .
  5. Web site: A First Look at IronRuby . John Lam . July 23, 2007 . dead . https://web.archive.org/web/20070726181932/http://www.iunknown.com/2007/07/a-first-look-at.html . July 26, 2007 .
  6. Web site: IronRuby on Rubyforge! . 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 already . Lam . John . August 31, 2007 . dead . https://web.archive.org/web/20070903213020/http://www.iunknown.com/2007/08/ironruby-on-rub.html . September 3, 2007.
  7. Web site: Regarding IronRuby... How true it sounds from this blog. The DLR does not accept contributions from the community (...) Today we do not push to SVN on every successful SNAP check-in. Lam. John. April 29, 2008. May 25, 2008. https://web.archive.org/web/20090316034858/http://rubyforge.org/pipermail/ironruby-core/2008-April/001507.html. March 16, 2009. dead.
  8. Web site: IronRuby at OSCON . Lam . John . 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 . July 24, 2008 . August 4, 2008 . dead . https://web.archive.org/web/20080807064758/http://www.iunknown.com/2008/07/ironruby-at-oscon.html . August 7, 2008.
  9. Web site: IronRuby on Rails. May 25, 2008. May 29, 2009. https://web.archive.org/web/20090529055728/http://en.oreilly.com/rails2008/public/schedule/detail/2056. dead.
  10. Web site: IronRuby r112 is out. Lam. John. May 24, 2008. May 25, 2008. https://web.archive.org/web/20090316133356/http://rubyforge.org/pipermail/ironruby-core/2008-May/001911.html. March 16, 2009. dead.
  11. Web site: IronRuby / Rails Question. Lam. John. 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. May 25, 2008. May 25, 2008. https://web.archive.org/web/20090317090824/http://rubyforge.org/pipermail/ironruby-core/2008-May/001909.html. March 17, 2009. dead.
  12. Web site: IronRuby at RailsConf 2009. Schementi. Jimmy. 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. May 25, 2008. May 25, 2008.
  13. Web site: IronRuby 0.9. July 23, 2009. August 3, 2009. May 12, 2009. https://web.archive.org/web/20090512192141/http://en.oreilly.com/oscon2009/public/schedule/detail/7965. dead.
  14. Web site: Comparing the performance of IronRuby, Ruby 1.8 and Ruby 1.9 on Windows. Cangiano. Antonio. August 3, 2009. August 3, 2009.
  15. Web site: IronRuby 1.0RC1. November 20, 2009. December 29, 2009. December 21, 2009. https://web.archive.org/web/20091221031512/http://ironruby.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35312. dead.
  16. Web site: IronRuby 1.0 release notes. April 12, 2010. 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.. April 17, 2010. April 16, 2010. https://web.archive.org/web/20100416135406/http://ironruby.codeplex.com/releases/view/25901. dead.
  17. Web site: MRI 1.8.7 compatibility. February 12, 2010. March 6, 2010. September 28, 2011. https://web.archive.org/web/20110928023501/http://rubyforge.org/pipermail/ironruby-core/2010-February/006301.html. dead.
  18. Web site: MRI 1.8.7 compatibility. February 14, 2010. IronRuby 1.0.x releases: ONLY ruby-1.8.6 compatible; IronRuby 1.x releases: ONLY ruby-1.9 compatible. March 6, 2010. September 28, 2011. https://web.archive.org/web/20110928023507/http://rubyforge.org/pipermail/ironruby-core/2010-February/006323.html. dead.
  19. Web site: It's not you, it's me: Microsoft kills IronRuby. InfoWorld. August 11, 2010. December 28, 2012.
  20. Web site: "Start spreading the news": the future of Jimmy and IronRuby. Schementi. Jimmy. August 6, 2010. 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. December 28, 2012.
  21. Web site: Zander. Jason. New Components and Contributors for IronPython and IronRuby. Microsoft. December 27, 2014.
  22. Web site: IronRuby 1.1.3 . ironruby.codeplex.com . March 13, 2011 . May 19, 2013 . May 30, 2013 . https://web.archive.org/web/20130530020039/http://ironruby.codeplex.com/releases/view/60511 . dead .
  23. Web site: Improving Mono's compatibility with .NET CLR. Miguel de Icaza. Miguel de Icaza. For as long as we remember, most new versions of IronPython, IronRuby or the Dynamic Language Runtime exposed new missing functionality in Mono. July 27, 2009. August 3, 2009.
  24. Web site: IronRuby and Mono . Sanghyeon . Seo . August 6, 2008 . September 13, 2008 . dead . https://web.archive.org/web/20090316034903/http://rubyforge.org/pipermail/ironruby-core/2008-August/002553.html . March 16, 2009.
  25. Web site: IronRuby and Mono . Vander Schelden . Wim . September 4, 2008 . September 13, 2008 . dead . https://web.archive.org/web/20090316034940/http://rubyforge.org/pipermail/ironruby-core/2008-September/002787.html . March 16, 2009.
  26. Web site: DLR Daily Builds (including IronRuby) . Hall . Ben . January 23, 2009 . January 23, 2009 . dead . https://web.archive.org/web/20090315051756/http://rubyforge.org/pipermail/ironruby-core/2009-January/003654.html . March 15, 2009.
  27. Web site: mono builds . Porto Carrero . Ivan . May 26, 2009 . June 5, 2009 . dead . https://web.archive.org/web/20120223233113/http://rubyforge.org/pipermail/ironruby-core/2009-May/004638.html . February 23, 2012.
  28. Web site: Xna+IronRuby+RubyNewb=headache. Hagenlocher. Curt. December 16, 2008. December 20, 2008. https://web.archive.org/web/20090316034935/http://rubyforge.org/pipermail/ironruby-core/2008-December/003390.html. March 16, 2009. dead.
  29. Web site: WPF databinding with ruby objects. Brotherus. Robert. December 12, 2008. December 13, 2008. https://web.archive.org/web/20090325052400/http://rubyforge.org/pipermail/ironruby-core/2008-December/003378.html. March 25, 2009. dead.
  30. Web site: Dynamic .NET - Creating Interactive Bing Maps with Silverlight and IronRuby . learn.microsoft.com . en-us.
  31. http://ironruby.net/browser/index.html IronRuby in the browser - IronRuby.net
  32. Web site: Building a WPF Application in IronRuby . InfoQ . en.
  33. Web site: Gestalt: Ruby and Python in the browser, again. Jimmy. Schementin. July 22, 2009. January 19, 2018.
  34. News: Silverlight: Embed IronRuby/DLR Scripting within XAML using IValueConverter and Custom UserControl Chris Pietschmann . pietschsoft.com.
  35. Web site: RubySpec. GitHub. 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.. October 23, 2010.
  36. News: Bort . Julie . After three years effort, Microsoft's open source IronRuby stable and available . Network World . April 14, 2010 . en.
  37. Web site: IronRuby License. July 16, 2010. July 27, 2010. December 6, 2010. https://web.archive.org/web/20101206001330/http://ironruby.codeplex.com/license. dead.