Ruby MRI

Ruby MRI
Ruby
Ruby-logo-notext.png
Developer(s) Yukihiro Matsumoto (among others)
Stable release 1.9.2 / August 18, 2010; 14 months ago (2010-08-18)
Written in C
Operating system Cross-platform
Type Ruby programming language interpreter
License Ruby License
GNU General Public License
Website www.ruby-lang.org
Yukihiro Matsumoto, the creator of Ruby.

Matz's Ruby Interpreter or Ruby MRI (also called CRuby) is the reference implementation of the Ruby programming language. As there is currently no specification of the Ruby language, the MRI implementation is considered the de facto reference. The RubySpec project has created a large test suite that captures 1.8.6/1.8.7/1.9 behavior as a reference conformance tool. Ruby MRI 1.9.2 currently passes over 99% of RubySpec.[1]

The latest stable version is Ruby 1.9.2[1]. The developers included the virtual machine provided by the YARV project, which was merged into the Ruby source tree on December 31, 2006, and released as part of Ruby 1.9.

Contents

History

Yukihiro Matsumoto ("Matz") started working on Ruby on February 24, 1993, and released it to the public in 1995. "Ruby" was named as a gemstone because of a joke within Matsumoto's circle of friends alluding to the name of the Perl programming language.[2]

The 1.8 branch is still maintained, and 1.8.7 releases have been released since April 2008[3][4]. This version provides bug fixes, but also many Ruby feature enhancements.

The current stable version of the interpreter 1.9.2 was released[1] on April 18, 2010. The 1.9 series added initial Unicode support, YARV with kernel threads (also known as native threads) [5] and significantly improved performance[6] over 1.8.

Licensing terms

The Ruby interpreter and libraries are distributed disjointedly (dual licensed) under the free and open source licenses GPL and Ruby License.[7]

Operating systems

Ruby MRI is available for the following operating systems:

This list may not be exhaustive.

Criticism

Commonly noted limitations include:

  • Performance -- the Ruby interpreter's performance trails that of comparable languages such as Perl, and Python[8][9], mainly due to the design of the interpreter: To execute Ruby code, the interpreter builds a syntax tree from the source code and then evaluates the syntax tree directly, instead of first compiling it into more efficiently executable form.
  • Backward compatibility -- version 1.9 and 1.8 have slight semantic differences.[10]

References

  1. ^ a b c Ruby 1.9.2 is released
  2. ^ An Interview with the Creator of Ruby
  3. ^ Musha, Akinori (2008-05-26). "Ruby Core: Ruby 1.8.7-preview4 has been released". http://www.ruby-forum.com/topic/154217#new. Retrieved 2008-05-30. "The new version of Ruby includes many bug fixes, lots of feature enhancements and some performance improvements since 1.8.6 while maintaining stability and backward compatibility with the previous release to a high degree, although there are ongoing efforts that need to be done toward adopting RubySpec." 
  4. ^ "1.8.7 NEWS". http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_preview4/NEWS. Retrieved 2008-05-30. 
  5. ^ The Ruby VM (Interview with Ruby VM creators)
  6. ^ Ruby 1.9 - Computer Language Benchmarks Game comparison
  7. ^ Ruby License (ruby-lang.org)
  8. ^ Boxplot Summary | Ubuntu : Intel Q6600 Computer Language Benchmarks Game
  9. ^ Ruby Performance Revisited - Joel on Software
  10. ^ InfoQ: Ruby 1.9 released

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Ruby MRI — Yukihiro Matsumoto, le créateur du langage Ruby. Ruby MRI (de l anglais Matz s Ruby Interpreter, parfois appelé CRuby) est l implémentation de référence du langage de programmation Ruby. Comme il n existe actuellement aucune spécification du… …   Wikipédia en Français

  • Ruby — Класс языка: мультипарадигмальный: динамический, объектно ориентиров …   Википедия

  • Ruby (Programmiersprache) — Ruby Offizielles Logo Basisdaten Paradigmen: multiparadigmatisch Erscheinungsjahr: 1995 …   Deutsch Wikipedia

  • Ruby (disambiguation) — Ruby most commonly refers to: * Ruby, a red gemstone * Ruby (programming language) * Ruby (given name)Ruby may also be:Locations* Ruby, Alaska * Ruby, Arizona * Ruby Mountain, a stratovolcano in British Columbia, Canada * Ruby Mountains, a… …   Wikipedia

  • Ruby on Rails — Ruby on Rails …   Википедия

  • Ruby (programming language) — ] . IronRuby [cite web url = http://rubyforge.org/pipermail/ironruby core/2008 May/001909.html title = IronRuby / Rails Question author = John Lam date=2008 05 25 accessdate = 2008 05 25] [cite web url = http://www.iunknown.com/2008/05/ironruby… …   Wikipedia

  • Ruby — Pour les articles homonymes, voir Ruby (homonymie). Ruby Apparu en …   Wikipédia en Français

  • MRI — Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom.   Sigles d’une seule lettre   Sigles de deux lettres > Sigles de trois lettres   Sigles de quatre lettres …   Wikipédia en Français

  • Ruby — Este artículo trata sobre el lenguaje de programación. Para la notación de ayuda a la lectura, véase Carácter ruby. Ruby Desarrollador(es) Comunidad de desarrolladores de Ru …   Wikipedia Español

  • MRI (disambiguation) — MRI may refer to:*Magnetic resonance imaging, a medical imaging technique *Magnetic Resonance Imaging (journal), a scientific journal *Magnetorotational Instability *Manchester Royal Infirmary, a hospital in Manchester, England *Martin Ryan… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”