Ruby (programmin leid)

Frae Wikipedia, the free beuk o knawledge
Jump to navigation Jump to search
Ruby
Ruby logo.svg
Paradigm(s)Multi-paradigm: Object-oriented, imperative, functional, reflective
Appeared in1995; 25 years ago (1995)
Designed biYukihiro Matsumoto
DeveloperYukihiro Matsumoto, et al.
Stable release2.4.1 (Mairch 22, 2017; 3 years ago (2017-03-22)[1])
Typin disciplineDuck, dynamic, strang
ScopeLexical, sometimes dynamic
Major implementationsRuby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, Mruby
Influenced biAda,[2] C++,[2] CLU,[3] Dylan,[3] Eiffel,[2] Lua, Lisp,[3] Perl,[3] Python,[3] Smalltalk[3]
InfluencedCoffeeScript, Clojure, Crystal, D, Elixir, Falcon, Groovy, Ioke,[4] Julia,[5] Mirah, Nu,[6] potion, Reia, Rust, Swift[7]
Implementation leidC
OSCross-platform
LicenseRuby, GPLv2 or 2-clause BSD license[8][9][10]
Usual filename extensions.rb
Wabsteidwww.ruby-lang.org

Ruby is a dynamic, reflective, object-orientit, general-purpose programmin leid. It wis designed an developed in the mid-1990s bi Yukihiro "Matz" Matsumoto in Japan.

References[eedit | eedit soorce]

  1. "Ruby 2.4.1 Released". Ruby Programming Language. 22 Mairch 2017. Retrieved 23 Mairch 2017.
  2. 2.0 2.1 2.2 Cooper, Peter (2009). Beginning Ruby: From Novice to Professional. Beginning from Novice to Professional (2nd ed.). Berkeley: APress. p. 101. ISBN 1-4302-2363-4. To a lesser extent, Python, LISP, Eiffel, Ada, and C++ have also influenced Ruby.
  3. 3.0 3.1 3.2 3.3 3.4 3.5 Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java. Berkeley: APress. p. 3. ISBN 1-59059-881-4. It draws primarily on features from Perl, Smalltalk, Python, Lisp, Dylan, and CLU.
  4. Bini, Ola. "Ioke". Ioke.org. Retrieved 21 Julie 2011. inspired by Io, Smalltalk, Lisp and Ruby
  5. "Introduction — Julia Language 0.4.1 documentation". Retrieved 13 November 2015.
  6. Burks, Tim. "About Nu™". Programming Nu™. Neon Design Technology, Inc. Retrieved 21 Julie 2011.
  7. Lattner, Chris (3 Juin 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3 Juin 2014. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far ower mony others to list.
  8. "[ruby] Contents of /trunk/COPYING". Retrieved 2 Mey 2015.
  9. "[ruby] Contents of /trunk/GPL". Retrieved 2 Mey 2015.
  10. "[ruby] Contents of /trunk/BSDL". Retrieved 2 Mey 2015.