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 year old
SHOW ALL QUESTIONS
Not to be confused with Ruby on Rails.
Ruby is an interpreted, high-level, general-purpose programming language. 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.
This article's lead section may be too technical for most readers to understand. (June 2022) |
Quick Facts Paradigm, Designed by ...
Paradigm | Multi-paradigm: functional, imperative, object-oriented, reflective |
---|---|
Designed by | Yukihiro Matsumoto |
Developer | Yukihiro Matsumoto, et al. |
First appeared | 1995; 29 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, .ru |
Website | ruby-lang.org |
Major implementations | |
Ruby MRI, TruffleRuby, YARV, Rubinius, JRuby, RubyMotion, mruby | |
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] | |
|
Close
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]