Ruby (programming language)
From WikiTech, the free technology encyclopedia
Object-oriented scripting language released in 1995
3 sources from Ruby Community, InfoWorld and Auth0. Checked by ByteExplained editors on 3 December 2026. How we check facts
Ruby is a general-purpose, object-oriented programming language designed by the Japanese programmer Yukihiro "Matz" Matsumoto and first released publicly in 1995.[1] It is known for a readable, expressive style and is the basis of the Ruby on Rails web framework.[2]
Contents
History
Matsumoto conceived the language on 24 February 1993, and he and his colleague Keiju Ishitsuka picked the name during a conversation, choosing "Ruby" over the alternative "Coral".[3] Matsumoto wanted a language mainly for scripting that was also fully object-oriented, at a time when many programmers thought object orientation too heavy for scripting work.[2] Version 0.95 was released to Japanese newsgroups on 21 December 1995, followed by Ruby 1.0 in 1996.[3] By 2000 Ruby was more popular than Python (programming language) in Japan.[3]
Interest outside Japan grew sharply after the launch of Ruby on Rails, a server-side web framework, in 2004.[3] Ruby reached mass acceptance in 2006, and much of its growth is credited to software written in it, especially Rails.[1] Twitter was originally written in Ruby.[2] Ruby 3.0 was released in 2020.[3]
Design
Matsumoto blended ideas from Perl, Smalltalk, Eiffel, Ada and Lisp (programming language), aiming to balance functional and imperative programming.[1] He has described his goal as making Ruby "natural, not simple".[1] In Ruby everything is an object, so even numbers have their own methods and follow the same rules as any other value.[1] Classes use single inheritance only; shared behaviour is added through modules, known as mixins. Blocks, a flexible kind of closure borrowed from functional languages, are used throughout the language.[1]
Ruby is free to use, copy, modify and distribute.[1] Its ecosystem includes the RubyGems package system, and the main implementation is written in C.[2] Ruby has regularly ranked among the ten most popular languages on indices such as TIOBE.[1]
See also
References
- ^ About Ruby. Ruby Community. ruby-lang.org
- ^ Yukihiro Matsumoto discusses the past, present, and future of Ruby. InfoWorld. 2011-09-06. infoworld.com
- ^ A Brief History of Ruby. Auth0. auth0.com





