Ruby shining on .Net Down Under

Developers in Australia are working on a Ruby compiler that converts Ruby source code into Microsoft's Common Intermediate Language (CIL) for execution on Microsoft's .Net Framework 2.0 platform.

Created at the Queensland University of Technology, in Brisbane, Australia, the Gardens Point Ruby.Net compiler is being released via an open source-style license. It is a true .Net compiler, as opposed to an interpreter or a Ruby-.Net bridge, said Wayne Kelly, a project leader and senior lecturer at the university. The compiler provides access to .Net facilities and libraries and an API for developing Windows forms applications is included. Currently available in a beta release, a general release with full language and built-in class support is planned by the end of the year.

"The .Net platform was designed to support many different programming languages so that developers could choose to use their favorite source language while still providing high levels of interoperability between components implemented in different languages," Kelly said in an email response to questions. "All of these languages also are able to make use of a large collection of libraries used, for example, to connect to databases, process XML, help implement web applications, etc."

"So, to existing .Net programmers, the Gardens Point Ruby compiler adds Ruby to the set of languages they can make use of to develop .Net applications. Ruby is an increasingly popular language with many fanatic users," Kelly said.

"The fact that .Net is managed, and so provides sandboxed type security, is also very important in some security-critical scenarios - for example implementing SQL Server stored procedures using fully verifiable .Net code," Kelly said. "This is why we aim to generate only fully verifiable managed code - with no native invokes to untrusted code."

A wider research goal of the project is to investigate support for dynamic languages on mainstream managed execution environments and to consider how interoperability can be achieved with other dynamic languages such as Python. Thus far, developers have not optimized performance of the system to support interoperability with .Net programs written in other languages, according to the Web page on the compiler. But that will be a goal once semantic compatibility with the standard Ruby interpreter is achieved.

Although the project has received financial and technical assistance from Microsoft Research, it is controlled and run by the university.

Efforts to offer scripting language support on Microsoft's .Net platform are growing, with projects afoot such as IronPython, which is an implementation of the Python programming language for .Net, and Ruby in Steel, which blends Ruby programming into the Visual Studio 2005 environment.

Also, Microsoft this week introduced a set of tools called XNA Game Studio Express, which are intended for game development on the Xbox 360 console and Windows XP. The tools are based on Visual Studio Express and .Net. A beta release is planned for August 30.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

Show Comments


James Cook University - Master of Data Science Online Course

Learn more >


Sansai 6-Outlet Power Board + 4-Port USB Charging Station

Learn more >



Back To Business Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?