
Ruby (programming language)
General-purpose programming language / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Ruby (programming language)?
Summarize this article for a 10 years old
SHOW ALL QUESTIONS
Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including primitive data types. It was developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.
General-purpose programming language
![]() | |
Paradigm | Multi-paradigm: functional, imperative, object-oriented, reflective |
---|---|
Designed by | Yukihiro Matsumoto |
Developer | Yukihiro Matsumoto, et al. |
First appeared | 1995; 28 years ago (1995) |
Stable release | |
Typing discipline | Duck, dynamic, strong |
Scope | Lexical, sometimes dynamic |
Implementation language | C |
OS | Cross-platform |
License | Ruby License |
Filename extensions | .rb |
Website | ruby-lang.org |
Major implementations | |
Ruby MRI, TruffleRuby, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, Mruby, IronRuby | |
Influenced by | |
Ada,[2] Basic,[3] C++,[2] CLU,[4] Dylan,[4] Eiffel,[2] Lisp,[4] Lua, Perl,[4] Python,[4] Smalltalk[4] | |
Influenced | |
Clojure, CoffeeScript, Crystal, D, Elixir, Groovy, Julia,[5] Mirah, Nu,[6] Ring,[7] Rust,[8] Swift[9] | |
|
Ruby is dynamically typed and uses garbage collection and just-in-time compilation. It supports multiple programming paradigms, including procedural, object-oriented, and functional programming. According to the creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, BASIC, Java and Lisp.[10][3]