请输入您要查询的百科知识:

 

词条 Ruby MRI
释义

  1. History

  2. Licensing terms

  3. Operating systems

  4. Criticism

  5. See also

  6. References

  7. External links

{{Infobox software
| name = Ruby
| logo = Ruby-logo-notext.png
| screenshot =
| caption =
| developer = Yukihiro Matsumoto (among others)
| latest release version = 2.5.5
| latest release date = 15.3.2019[1]
| released = 04.08.2003[2]
| operating system = Cross-platform
| programming language = C
| genre = Ruby programming language interpreter
| license = Ruby License
Simplified BSD License
GNU General Public License (prior to 1.9.3)
| website = {{URL|www.ruby-lang.org}}
}}

Matz's Ruby Interpreter or Ruby MRI (also called CRuby) was the reference implementation of the Ruby programming language named after Ruby creator Yukihiro Matsumoto ("Matz"). Until the specification of the Ruby language in 2011,{{citation needed|reason=needed pointer to the spec, draft spec is gone|date=November 2015}} the MRI implementation was considered the de facto reference, especially since an independent attempt to create the specification (RubySpec) had failed.[3] Starting with Ruby 1.9, and continuing with Ruby 2.x and above, the official Ruby interpreter has been YARV ("Yet Another Ruby VM").

The latest stable version is Ruby 2.5.0[3]

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

The 1.8 branch has been maintained until June 2013,[5] and 1.8.7 releases have been released since April 2008.[6][7] This version provides bug fixes, but also many Ruby feature enhancements.

The RubySpec project has independently 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 passed over 99% of RubySpec.,[8] MRI Ruby 2.2 crashed on one of the tests. As a result of the limited uptake by the MRI developers, RubySpec project has been discontinued as of end of 2014.[9]

Licensing terms

Prior to release 1.9.3, the Ruby interpreter and libraries were distributed as dual-licensed free and open source software, under the GNU General Public License or the Ruby License.[10] In release 1.9.3, Ruby's License has been changed from a dual license with GPLv2 to a dual license with the 2-clause BSD license.[11]

Operating systems

Ruby MRI is available for the following operating systems (supported Ruby versions can be different):

{{Div col|colwidth=25em}}
  • Acorn RISC OS
  • Amiga
  • BeOS / Haiku
  • DOS (32-bit)
  • IBM i
  • Internet Tablet OS
  • Linux
  • Mac OS X
  • Microsoft Windows 95/98/2000/2003/NT/XP/Vista/7/8/10
  • Microsoft Windows CE
  • MorphOS
  • OS/2
  • OpenVMS
  • Syllable
  • Symbian OS
  • Blue Gene/L compute node kernel
  • Most flavors of Unix
{{Div col end}}

This list may not be exhaustive.

PowerPC64 performance
Since version 2.2.1,[12] Ruby MRI performance on PowerPC64 was improved.[13][14][15]

Criticism

Commonly noted limitations include:

Backward compatibility
Version 1.9 and 1.8 have slight semantic differences.[16] The release of Ruby 2.0 sought to avoid such a conflict between different versions.[17]

See also

{{Portal|Free and open-source software}}
  • YARV

References

1. ^{{Cite web |url=https://www.ruby-lang.org/en/news/2019/03/15/ruby-2-5-5-released/ |accessdate=16 March 2019}}
2. ^{{Cite web |url=https://www.ruby-lang.org/en/news/2003/08/04/ruby-180-released/ |accessdate=12 January 2018}}
3. ^{{Cite web |url=https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/ |title=Ruby 2.5.0 Released |author= 236nojamin |date=2017-12-25 |work=ruby-lang.org |publisher= |accessdate=25 December 2017}}
4. ^{{cite web |url=http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.html |title=An Interview with the Creator of Ruby |author=Bruce Stewart |date=2001-11-29 |website=linuxdevcenter.com |publisher=O'Reilly |accessdate=22 February 2014}}
5. ^{{cite web |url=https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/ |title=We retire Ruby 1.8.7 |author=shyouhei |date=30 Jun 2013 |website=ruby-lang.org |accessdate=22 February 2014}}
6. ^{{cite web| url = http://www.ruby-forum.com/topic/154217#new| title = Ruby Core: Ruby 1.8.7-preview4 has been released| date = 2008-05-26| quote = 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.| last = Musha|first=Akinori| accessdate = 2008-05-30}}
7. ^{{cite web| url = http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_preview4/NEWS| title = 1.8.7 NEWS| accessdate = 2008-05-30}}
8. ^{{cite web |url=http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9.2-released/ |title=Ruby 1.9.2 is released |author=Yugui |date=18 Aug 2010 |website=ruby-lang.org |accessdate=22 February 2014}}
9. ^{{cite web|title=Matz's Ruby Developers Don't Use RubySpec and It's Hurting Ruby. | url=http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/|website=Rubinius blog|date=31 December 2014|accessdate=16 November 2015|author=Brian Shirai}}
10. ^{{cite web |url=http://www.ruby-lang.org/en/LICENSE.txt |title=Ruby License |website=ruby-lang.org |accessdate=22 February 2014}}
11. ^{{cite web |url=http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_0/NEWS |title=Ruby 1.9.3 Release News |website=ruby-lang.org |accessdate=22 February 2014}}
12. ^{{cite web|url=https://www.ruby-lang.org/en/news/2015/03/03/ruby-2-2-1-released|title=Ruby 2.2.1 Released|accessdate=12 July 2016|author=Gustavo Frederico Temple Pedrosa, Vitor de Lima, Leonardo Bianconi|year=2015}}
13. ^{{cite web|url=http://svn.ruby-lang.org/repos/ruby/tags/v2_2_1/ChangeLog|title=v2.2.1 ChangeLog|accessdate=12 July 2016|author=Gustavo Frederico Temple Pedrosa, Vitor de Lima, Leonardo Bianconi|year=2015}}
14. ^{{cite web|url=https://bugs.ruby-lang.org/issues/9997|title=Specifying non volatile registers for increase performance in ppc64|accessdate=12 July 2016|author=Gustavo Frederico Temple Pedrosa, Vitor de Lima, Leonardo Bianconi|year=2014}}
15. ^{{cite web|url=https://bugs.ruby-lang.org/issues/10081|title=Specifying MACRO for increase performance in ppc64|accessdate=12 July 2016|author=Gustavo Frederico Temple Pedrosa, Vitor de Lima, Leonardo Bianconi|year=2014}}
16. ^{{cite web |url=http://www.infoq.com/news/2007/12/ruby-19 |title=Ruby 1.9 released |author=Rick DeNatale |date=December 26, 2007 |website=Infoq.com |accessdate=22 February 2014}}
17. ^{{cite web |url=https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/ |title=Ruby 2.0.0-p0 is released |author=Yusuke Endoh |date=24 February 2013 |website=ruby-lang.org |accessdate=22 February 2014}}

External links

  • {{Official website|www.ruby-lang.org/en/}}
{{Ruby programming language}}{{DEFAULTSORT:Ruby Mri}}

3 : Free compilers and interpreters|Free software programmed in C|Ruby (programming language)

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 3:27:23