Ruby (programmin leid)

Frae Wikipedia
Jump to navigation Jump to search
Ruby logo.svg
Paradigm(s) Multi-paradigm: Object-oriented, imperative, functional, reflective
Appeared in 1995; 24 years ago (1995)
Designed bi Yukihiro Matsumoto
Developer Yukihiro Matsumoto, et al.
Stable release 2.4.1 (Mairch 22, 2017; 2 years ago (2017-03-22)[1])
Typin discipline Duck, dynamic, strang
Scope Lexical, sometimes dynamic
Major implementations Ruby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, Mruby
Influenced bi Ada,[2] C++,[2] CLU,[3] Dylan,[3] Eiffel,[2] Lua, Lisp,[3] Perl,[3] Python,[3] Smalltalk[3]
Influenced CoffeeScript, Clojure, Crystal, D, Elixir, Falcon, Groovy, Ioke,[4] Julia,[5] Mirah, Nu,[6] potion, Reia, Rust, Swift[7]
Implementation leid C
OS Cross-platform
License Ruby, GPLv2 or 2-clause BSD license[8][9][10]
Usual filename extensions .rb

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. 2017-03-22. Retrieved 2017-03-23. 
  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". Retrieved 2011-07-21. 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 2011-07-21. 
  7. Lattner, Chris (2014-06-03). "Chris Lattner's Homepage". Chris Lattner. Retrieved 2014-06-03. 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 May 2015. 
  9. "[ruby] Contents of /trunk/GPL". Retrieved 2 May 2015. 
  10. "[ruby] Contents of /trunk/BSDL". Retrieved 2 May 2015.