Ruby Programming Language: Difference between revisions
m (Text replacement - "]] system " to " system]] ") |
m (Text replacement - "<P> " to "<P> ") |
||
Line 17: | Line 17: | ||
== References == | == References == | ||
* http://www.ruby-lang.org/ | * http://www.ruby-lang.org/ | ||
=== 2012 === | === 2012 === | ||
* http://en.wikipedia.org/wiki/Ruby_(programming_language) | * http://en.wikipedia.org/wiki/Ruby_(programming_language) | ||
** <B>Ruby</B> is a [[dynamic programming language|dynamic]], [[reflection (computer science)|reflective]], [[object-oriented programming language|object-oriented]], [[general-purpose programming language]]. It was designed and developed in the mid-1990s by [[Yukihiro Matsumoto|Yukihiro "Matz" Matsumoto]] in [[Japan]]. <P> | ** <B>Ruby</B> is a [[dynamic programming language|dynamic]], [[reflection (computer science)|reflective]], [[object-oriented programming language|object-oriented]], [[general-purpose programming language]]. It was designed and developed in the mid-1990s by [[Yukihiro Matsumoto|Yukihiro "Matz" Matsumoto]] in [[Japan]]. <P> Ruby embodies syntax inspired by [[Perl]] with [[Smalltalk]]-like features and was also influenced by [[Eiffel (programming language)|Eiffel]] and [[Lisp (programming language)|Lisp]].<ref>[http://www.ruby-lang.org/en/about/ About Ruby]. Ruby-lang.org (2001-11-29). Retrieved on 2013-07-17.</ref> It supports multiple [[programming paradigm]]s, including [[Functional programming|functional]], [[Object-oriented programming|object oriented]], and [[Imperative programming|imperative]]. It also has a [[dynamic type system]] and automatic [[memory management]]. Therefore, it is similar in varying degrees to, [[Smalltalk]], [[Python (programming language)|Python]], [[Perl]], [[Lisp (programming language)|Lisp]], [[Dylan (programming language)|Dylan]], and [[CLU (programming language)|CLU]]. <P> The standard and already retired<ref name="1.8.7-retirement">[http://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/ Ruby 1.8.7 is retired]</ref> 1.8.7 [[Ruby MRI|implementation]] was written in [[C (programming language)|C]], as a single-pass [[interpreted language]]. Starting with the 1.9 branch, and continuing with the current 2.0 branch, [[YARV]] has been used, and will eventually supersede the slower [[Ruby MRI]]. The language specifications for Ruby were developed by the Open Standards Promotion Center of the Information-Technology Promotion Agency (a [[Government of Japan|Japanese government]] agency) for submission to the Japanese Industrial Standards Committee and then to the [[International Organization for Standardization]]. It was accepted as a Japanese Industrial Standard (JIS X 3017) in 2011<ref>[http://www.ipa.go.jp/about/press/20110322.html プログラム言語RubyのJIS規格(JIS X 3017)制定について]</ref> and an international standard ([[ISO/IEC 30170]]) in 2012.<ref>[http://www.ipa.go.jp/about/press/20120402_2.html プログラム言語Ruby、国際規格として承認]</ref> {{As of|2010}}, there are a number of complete or upcoming alternative implementations of Ruby, including [[YARV]], [[JRuby]], [[Rubinius]], [[IronRuby]], [[MacRuby]] (and its iOS counterpart, [[RubyMotion]]), [[mruby]], [[HotRuby]], [[Topaz (Ruby implementation)|Topaz]] and [[Opal (Ruby implementation)|Opal]]. Each takes a different approach, with IronRuby, JRuby, MacRuby and Rubinius providing [[just-in-time compilation]] and MacRuby and mruby also providing [[ahead-of-time compilation]]. | ||
---- | ---- |
Latest revision as of 18:19, 2 June 2024
A Ruby Programming Language is a general-purpose, high-level object-oriented dynamic programming language.
- AKA: Python, Python Language.
- Context:
- It can be associated with a Ruby Program, with: Ruby Variables, Ruby Data Structures, Ruby Conditional Statements, etc.
- Example(s):
- Ruby v2.0.0
- Counter-Example(s)
- See: Ruby Library.
References
2012
- http://en.wikipedia.org/wiki/Ruby_(programming_language)
- Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.
Ruby embodies syntax inspired by Perl with Smalltalk-like features and was also influenced by Eiffel and Lisp.[1] It supports multiple programming paradigms, including functional, object oriented, and imperative. It also has a dynamic type system and automatic memory management. Therefore, it is similar in varying degrees to, Smalltalk, Python, Perl, Lisp, Dylan, and CLU.
The standard and already retired[2] 1.8.7 implementation was written in C, as a single-pass interpreted language. Starting with the 1.9 branch, and continuing with the current 2.0 branch, YARV has been used, and will eventually supersede the slower Ruby MRI. The language specifications for Ruby were developed by the Open Standards Promotion Center of the Information-Technology Promotion Agency (a Japanese government agency) for submission to the Japanese Industrial Standards Committee and then to the International Organization for Standardization. It was accepted as a Japanese Industrial Standard (JIS X 3017) in 2011[3] and an international standard (ISO/IEC 30170) in 2012.[4] As of 2010[update], there are a number of complete or upcoming alternative implementations of Ruby, including YARV, JRuby, Rubinius, IronRuby, MacRuby (and its iOS counterpart, RubyMotion), mruby, HotRuby, Topaz and Opal. Each takes a different approach, with IronRuby, JRuby, MacRuby and Rubinius providing just-in-time compilation and MacRuby and mruby also providing ahead-of-time compilation.
- Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.
- ↑ About Ruby. Ruby-lang.org (2001-11-29). Retrieved on 2013-07-17.
- ↑ Ruby 1.8.7 is retired
- ↑ プログラム言語RubyのJIS規格(JIS X 3017)制定について
- ↑ プログラム言語Ruby、国際規格として承認