Home > Articles > Open Source > Ruby/Ruby on Rails

Getting Started with IronRuby

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss

This chapter is from the book

IronRuby is Microsoft's implementation of the Ruby language on top of the DLR. Shay Friedman gives you your first taste of IronRuby. You install it, read an overview of the language and its tools, and start to discover the power it brings to the .NET family.

IronRuby is Microsoft's implementation of the Ruby language on top of the DLR. Its main goal is to provide seamless interoperability between Ruby and the .NET Framework.

IronRuby combines the powers of both the .NET Framework and the Ruby language. On the one hand, it contains the built-in capabilities of Ruby, and on the other hand, it is capable of using the wide variety of frameworks and libraries of the .NET Framework. The combination opens a whole new set of opportunities to both Ruby and .NET developers.

In this chapter, you get your first taste of IronRuby. You install it, read an overview of the language and its tools, and start to discover the power it brings to the .NET family.

Overview

IronRuby is Microsoft's implementation of the Ruby programming language. It is built on top of the DLR and provides seamless integration between Ruby code and .NET Framework code. It is compatible with Ruby 1.8.6 and runs on .NET Framework 2.0 Service Pack 1 and above.

IronRuby was first announced on April 30, 2007, at the MIX conference. Iron, in its name, is actually an acronym and stands for "implementation running on .NET."

IronRuby is supported by the Common Language Runtime (CLR) and Mono, which means that it can be run on Windows, Linux, UNIX, BSD, Mac, and all other operating systems that are supported by Mono. Apart from operating systems, IronRuby can also be run from the browser using Silverlight. (See Chapter 16, "Silverlight," for more about IronRuby and Silverlight.)

IronRuby is an open source project and is released with full source code under the Microsoft Public License (MS-PL). The code is hosted on GitHub and can be downloaded from the CodePlex site, too. Because it is an open source project, the IronRuby team is looking for contributions both in bug fixing and library implementation. Look at the contribution page on IronRuby's GitHub home page to see how you can help (http://wiki.github.com/ironruby/ironruby/contributing).

  • Share ThisShare This
  • Save To Your Account
IronRuby Unleashed

This chapter is from the book

IronRuby Unleashed

Learn MoreAdd To Cart

Discussions

comments powered by Disqus

Related Resources

#TuesdayTrivia: Spotlight on WP7 (Win a copy of Sams Teach Yourself Windows Phone 7 Application Development)
By on May 2, 2012Comments
These days, what CAN'T a smartphone do? Microsoft is putting their own spin on things to help you experience "life in motion" when using your device. Instead of containing static application icons, the re-imagined Start screen features live Tiles showing real-time content updates.

March Trivia #1: Let there be light! (Win Microsoft Visual Studio LightSwitch Unleashed)
By on March 13, 2012Comments
Want a simplified self-service tool to help you build business applications for the desktop and beyond? Microsoft programmers… meet Visual Studio LightSwitch.

February Trivia #2: There's an App for That (Win Sams Teach Yourself iOS 5 Application Development in 24 Hours)
By on February 28, 2012Comments
In less than a decade, the iOS platform has changed the way we think about mobile communication.

See All Related Blogs