Ruby Programming Language: Difference between revisions

From GM-RKB
Jump to navigation Jump to search
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>                     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]].
** <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.



References

2012