1. Home
  2. Computing & Technology
  3. Ruby
photo of Amanda & Michael Morin
Amanda and Michael's Ruby Blog

By Amanda & Michael Morin, About.com Guides to Ruby

Ruby to be Standardized?

Tuesday November 18, 2008

There has been discussion on the Ruby-talk mailing list of standardizing Ruby with the International Standards Organization. This is an important step in the progression of Ruby, especially taking into account the number of Ruby implementations available. A formal standard would allow greater interoperability and code portability between different Ruby environments such as the official Ruby interpreter and JRuby or IronRuby.

A formal standard would cement Ruby's future in the programming language landscape. It would join the ranks of languages such as C++, C#, ECMAScript (better known as Javascript) and SQL, all of which have multiple implementations on various platforms from an array of vendors.

Ruby does already have a spec project called RubySpec, but it's something quite different from a formal programming language specification. RubySpec is a collection of tests to ensure language features are acting as expected, whereas a formal language specification is a detailed description of every aspect of the language. Though the RubySpec effort is not wasted, it can still be used to verify and test implementations of the Ruby programming language (just as it is being used today).

Finally, there's one important thing gained from a formal language specification: respect. Though languages are not instantly respected once standardized (C# was viewed skeptically for quite some time before its acceptance), a formal language specification says this is not a "toy" language. It's not going to radically change on the whim of the project manager. It's going to be here for the foreseeable future, and if any of the implementations were to be discontinued, your code would still run on any of the other implementations.

Comments

November 19, 2008 at 9:56 am
(1) Etienne Savard says:

“There is some discussions about the Ruby language becoming an ISO standard. […]”

November 19, 2008 at 10:08 am
(2) Ujjwal Trivedi says:

Will it also mean that Ruby will have standard coding guidelines, code review checklist etc., or am i getting it wrong?

December 12, 2008 at 11:56 pm
(3) puzzled says:

trivedi.

coding guidelines, code review checklist is part of your software development life cycle… what are you talking about ?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby

©2009 About.com, a part of The New York Times Company.

All rights reserved.