381 lines
14 KiB
Plaintext
381 lines
14 KiB
Plaintext
#[1]SitePoint
|
||
|
||
IFRAME: [2]https://www.googletagmanager.com/ns.html?id=GTM-KL8PMMW
|
||
|
||
(BUTTON)
|
||
* ____________________
|
||
* [3]Blog
|
||
*
|
||
+ [4]Free Tech Books →
|
||
+ [5]AI →
|
||
+ [6]JavaScript
|
||
+ [7]Computing
|
||
+ [8]Design & UX
|
||
+ [9]HTML & CSS
|
||
+ [10]Entrepreneur
|
||
+ [11]Web
|
||
+ [12]PHP
|
||
+ [13]WordPress
|
||
+ [14]Mobile
|
||
+ [15]Programming
|
||
+ [16]Python →
|
||
* [17]Forum
|
||
* [18]Library
|
||
* [19]Login
|
||
* [20]Join Premium
|
||
|
||
[21]Join Premium
|
||
|
||
____________________
|
||
|
||
(BUTTON)
|
||
(BUTTON)
|
||
* [22]Free Tech Books
|
||
* [23]AI
|
||
* [24]JavaScript
|
||
* [25]Computing
|
||
* [26]Design & UX
|
||
* [27]HTML & CSS
|
||
* [28]Entrepreneur
|
||
* [29]Web
|
||
* [30]PHP
|
||
* [31]WordPress
|
||
* [32]Mobile
|
||
* [33]Programming
|
||
* [34]Python
|
||
|
||
(BUTTON)
|
||
(BUTTON)
|
||
|
||
[35]Ruby
|
||
|
||
The History of Ruby
|
||
|
||
[36][1433174717Profile-2015-May-96x96.jpg]
|
||
|
||
|
||
[37]Jesse Herrick
|
||
|
||
July 26, 2014
|
||
Share (BUTTON) (BUTTON) (BUTTON) (BUTTON) (BUTTON)
|
||
|
||
rubygrows
|
||
|
||
The Ruby language is 21 years old. Its strong community and adoption by
|
||
the open source community has kept this language steady and improving.
|
||
Ruby has changed drastically over the years. It has grown from a young
|
||
child to the strong adult that it is today. But it didn’t get that way
|
||
overnight. Let’s take a look at the life of the Ruby programming
|
||
language.
|
||
|
||
Note: This article is packed with metaphors (language to human), so be
|
||
prepared.
|
||
|
||
Birth (1993)
|
||
|
||
Ruby was born in 1993, conceieved in a discussion between Yukihiro
|
||
Matsumoto (“Matz”) and a colleague. They were discussing the
|
||
possibility of an object-oriented scripting-language. Matz stated in
|
||
[38]ruby-talk:00382 that he knew Perl, but did not like it very much;
|
||
that it had the smell of a “toy” language. He also discussed that he
|
||
knew Python, but didn’t like it because it wasn’t a true
|
||
object-oriented programming language.
|
||
|
||
Matz wanted a language perfect for his needs:
|
||
* Syntactically Simple
|
||
* Truly Object-Oriented
|
||
* Having Iterators and Closures
|
||
* Exception Handling
|
||
* Garbage Collection
|
||
* Portable
|
||
|
||
Having looked around and not found a language suited for him, Yukihiro
|
||
Matsumoto decided to create his own. After spending several months
|
||
writing an interpreter, Matz finally published the first public version
|
||
of Ruby (0.95) to various Japanese domestic newsgroups in December,
|
||
1995. You can still download the infant version of Ruby [39]here at
|
||
your own risk.
|
||
|
||
Toddler Years
|
||
|
||
Ruby became a toddler (n.: a young child who is just beginning to walk)
|
||
when Ruby 1.0 was released in December, 1996. Ruby 1.1 shortly followed
|
||
in August of 1997, and the first stable version of Ruby (1.2) was
|
||
released in December of 1998.
|
||
|
||
At this point in time, Ruby was localized to Japan only, but it would
|
||
soon spread to other parts of the world…
|
||
|
||
Primary School Years
|
||
|
||
In 1998, Matz created a simple English homepage for Ruby. However, Ruby
|
||
was still very localized to Japan. In trying to further this expansion,
|
||
the first English language Ruby mailing list, [40]Ruby-Talk, was
|
||
created. Ruby was beginning to spread beyond Japan.
|
||
|
||
Ruby-Talk is still very active today, and you can subscribe to it
|
||
[41]here.
|
||
|
||
In October of 1999, Yukihiro Matsumoto and Keiju Ishitsuka wrote the
|
||
first book on the Ruby programming language: The Object-oriented
|
||
Scripting Language Ruby. Ruby was beginning to get very popular in
|
||
Japan, and spreading rapidly to English-speaking countries.
|
||
|
||
In 2001, the first English book on Ruby, Programming Ruby (“The
|
||
Pickaxe”), was published in 2001. With this new information on Ruby,
|
||
many more people were able to learn the language.
|
||
|
||
Ruby 1.8 was released in 2003. This release made large amounts of
|
||
changes to the agile 10-year-old language. Including:
|
||
* Duck Typing (looks like a duck, swims like a duck, quacks like a
|
||
duck: it’s a duck)
|
||
* Fully Qualified Names (Foo::Bar)
|
||
* Native YAML Support
|
||
* WEBrick
|
||
* StringIO
|
||
* open-uri
|
||
* PP (Pretty Printer for Hash#inspect)
|
||
* ruby -run (UNIX commands for all! ruby -run -e mkdir foo)
|
||
* And many other minor features
|
||
|
||
In 2004, RubyGems was released to the public. Good things started
|
||
happening next…
|
||
|
||
The Rebellious Teenager
|
||
|
||
In 2005, Ruby use took off. The reason: Ruby on Rails. This new
|
||
framework changed the history of rapid web development. Ruby had been
|
||
used in the past to write CGI scripts, but Ruby on Rails took this a
|
||
step further. Rails has a Model-View-Controller structure that focuses
|
||
on “convention over configuration”, which is great for developing web
|
||
applications.
|
||
|
||
People loved it. So much so that, the Ruby community was almost taken
|
||
over by the Rails framework. Ruby in turn became very popular.
|
||
|
||
In March of 2007, Ruby 1.8.6 was released, with 1.8.7 following in May
|
||
of 2008. At this point, Ruby was at its peak. Mac OS X even began
|
||
shipping with it in 2007. At this point, Ruby was 15 years old.
|
||
|
||
Ruby 1.9 (development version) was released in December, 2007, then
|
||
stabilized 4 years later (2011) as Ruby 1.9.3. Ruby 1.9.3 was the
|
||
production version of 1.9.2. These versions brought new changes to the
|
||
language, such as:
|
||
* Significant speed improvements
|
||
* New methods
|
||
* New hash syntax ({ foo: 'bar' })
|
||
* RubyGems included
|
||
* New Socket API (IPv6 support)
|
||
* Several random number generators
|
||
* Regular Expression improvements
|
||
* File loading performance improvements
|
||
* Test::Unit Improvements
|
||
* New encoding support
|
||
* More string formatting tweaks
|
||
* And so much more
|
||
|
||
Ruby was making the transition from a rebellious teenager to a strong
|
||
adult as it turned 18 with Ruby 1.9.3.
|
||
|
||
Strong Adult
|
||
|
||
Ruby 2.0.0 was released in February 2013 and brought many stabilizing
|
||
changes to the language. Among them are:
|
||
* More speed improvements
|
||
* Refinements (safe monkey patching)
|
||
* Keyword arguments
|
||
* UTF-8 by default
|
||
* New regular expressions engine
|
||
* Optimized garbage collection
|
||
* The addition of built-in syntax documentation (ri ruby:syntax)
|
||
|
||
Unlike 1.9.x, which broke numerous gems with its changes, 2.0.0 was
|
||
almost completely backwards compatible with 1.9.3. In addition, Heroku,
|
||
one of the leading Ruby/Rails hosts upgraded to 2.0.0 quickly, causing
|
||
earlier than usual adoption by new and existing projects. The Ruby
|
||
language was (and is) in its golden age.
|
||
|
||
Ruby 2.1.0 was released on Christmas day of 2013. It brought several
|
||
minor changes to the language. But the biggest news of 2.1.0 was
|
||
[42]semantic versioning, a way to properly version a project without
|
||
breaking dependencies by accident.
|
||
|
||
Ruby 2.1.1 was released on Ruby’s 21st birthday (February 24, 2014).
|
||
Ruby is now legally allowed to drink in the US (not that we’d want it
|
||
to). This version was mainly speed improvements and bugfixes. Shortly
|
||
after 2.1.1, Ruby 2.1.2 was released in May of 2014. 2.1.2 consists of
|
||
more bugfixes and is the current stable version of Ruby.
|
||
|
||
The Future
|
||
|
||
Ruby is a great language. Matz wanted a programming language that
|
||
suited his needs, so he built one. This is an inspiring story of
|
||
software development: if you can’t find something that you like,
|
||
program it yourself. From 0.95 to 2.1.2, Ruby has struck the awe of
|
||
those who wished to program the way they wanted, not the way the
|
||
machine wanted.
|
||
|
||
We can’t know the future of the Ruby language, but we can predict it
|
||
based on the past. I believe that the Ruby language, and its fantastic
|
||
community will continue furthering the language above and beyond what
|
||
others think is possible, and projects built using it will do the same.
|
||
|
||
Share This Article
|
||
|
||
(BUTTON) (BUTTON) (BUTTON) (BUTTON) (BUTTON)
|
||
|
||
|
||
[43]Jesse Herrick
|
||
|
||
[44]Jesse Herrick
|
||
|
||
Jesse Herrick is an avid Ruby developer who specializes in web
|
||
development. He is a back-end developer at [45]Littlelines and loves
|
||
programming. You can read his personal blog at:
|
||
[46]https://jesse.codes.
|
||
|
||
GlennGhistoryruby
|
||
|
||
Up Next
|
||
|
||
[47]How to Build an Interactive History Map with WRLD
|
||
[48]How to Build an Interactive History Map with WRLD[49]Adrian Try
|
||
|
||
[50]Digital Fonts: A Condensed History
|
||
[51]Digital Fonts: A Condensed History[52]Alex Bigman
|
||
|
||
[53]A History of CSS Image Replacement
|
||
[54]A History of CSS Image Replacement[55]Baljeet Rathi
|
||
|
||
[56]Making Alternative ’80s Film History Come to Life with Photoshop
|
||
[57]Making Alternative ’80s Film History Come to Life with
|
||
Photoshop[58]Gabrielle Gosha
|
||
|
||
[59]10 Years of Mobile Industry History in 10 Minutes
|
||
[60]10 Years of Mobile Industry History in 10 Minutes[61]Dirk Reagle
|
||
|
||
[62]How to Modify the Browser History in Complex HTML5 and JavaScript
|
||
Applications
|
||
[63]How to Modify the Browser History in Complex HTML5 and JavaScript
|
||
Applications[64]Craig Buckler
|
||
|
||
* Stuff we do
|
||
* [65]Premium
|
||
* [66]Newsletters
|
||
* [67]Forums
|
||
|
||
* About
|
||
* [68]Our story
|
||
* [69]Terms of use
|
||
* [70]Privacy policy
|
||
* [71]Corporate memberships
|
||
|
||
* Contact
|
||
* [72]Contact us
|
||
* [73]FAQ
|
||
* [74]Publish your book with us
|
||
* [75]Write an article for us
|
||
* [76]Advertise
|
||
|
||
* Connect
|
||
*
|
||
|
||
© 2000 – 2024 SitePoint Pty. Ltd.
|
||
|
||
This site is protected by reCAPTCHA and the Google[77] Privacy Policy
|
||
and[78] Terms of Service apply.
|
||
|
||
<img height="1" width="1" style="display:none"
|
||
src="https://www.facebook.com/tr?id=721455246308784&ev=PageView&noscrip
|
||
t=1"} />
|
||
|
||
References
|
||
|
||
Visible links:
|
||
1. https://www.sitepoint.com/sitepoint.rss
|
||
2. https://www.googletagmanager.com/ns.html?id=GTM-KL8PMMW
|
||
3. https://www.sitepoint.com/blog/
|
||
4. https://www.sitepoint.com/premium/library/free/?ref_source=blog_nav
|
||
5. https://www.sitepoint.com/ai/
|
||
6. https://www.sitepoint.com/javascript/
|
||
7. https://www.sitepoint.com/computing/
|
||
8. https://www.sitepoint.com/design-ux/
|
||
9. https://www.sitepoint.com/html-css/
|
||
10. https://www.sitepoint.com/entrepreneur/
|
||
11. https://www.sitepoint.com/web/
|
||
12. https://www.sitepoint.com/php/
|
||
13. https://www.sitepoint.com/wordpress/
|
||
14. https://www.sitepoint.com/mobile/
|
||
15. https://www.sitepoint.com/programming/
|
||
16. https://www.sitepoint.com/python/
|
||
17. https://www.sitepoint.com/community/
|
||
18. https://www.sitepoint.com/premium/library/
|
||
19. https://www.sitepoint.com/premium/sign-in/
|
||
20. https://www.sitepoint.com/premium/pricing/?ref_source=sitepoint&ref_medium=topnav
|
||
21. https://www.sitepoint.com/premium/pricing/?ref_source=sitepoint&ref_medium=topnav
|
||
22. https://www.sitepoint.com/premium/library/free/?ref_source=blog_nav
|
||
23. https://www.sitepoint.com/ai/
|
||
24. https://www.sitepoint.com/javascript/
|
||
25. https://www.sitepoint.com/computing/
|
||
26. https://www.sitepoint.com/design-ux/
|
||
27. https://www.sitepoint.com/html-css/
|
||
28. https://www.sitepoint.com/entrepreneur/
|
||
29. https://www.sitepoint.com/web/
|
||
30. https://www.sitepoint.com/php/
|
||
31. https://www.sitepoint.com/wordpress/
|
||
32. https://www.sitepoint.com/mobile/
|
||
33. https://www.sitepoint.com/programming/
|
||
34. https://www.sitepoint.com/python/
|
||
35. https://www.sitepoint.com/ruby/
|
||
36. https://www.sitepoint.com/author/jherrick/
|
||
37. https://www.sitepoint.com/author/jherrick/
|
||
38. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/382
|
||
39. https://ftp.ruby-lang.org/pub/ruby/1.0/
|
||
40. http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml
|
||
41. https://www.ruby-lang.org/en/community/mailing-lists/
|
||
42. http://semver.org/
|
||
43. https://www.sitepoint.com/author/jherrick/
|
||
44. https://www.sitepoint.com/author/jherrick/
|
||
45. http://www.littlelines.com/
|
||
46. https://jesse.codes/
|
||
47. https://www.sitepoint.com/how-to-build-an-interactive-history-map-with-wrld/
|
||
48. https://www.sitepoint.com/how-to-build-an-interactive-history-map-with-wrld/
|
||
49. https://www.sitepoint.com/author/atry/
|
||
50. https://www.sitepoint.com/digital-fonts-condensed-history/
|
||
51. https://www.sitepoint.com/digital-fonts-condensed-history/
|
||
52. https://www.sitepoint.com/author/alex-bigman/
|
||
53. https://www.sitepoint.com/css-image-replacement-text-indent-negative-margins-and-more/
|
||
54. https://www.sitepoint.com/css-image-replacement-text-indent-negative-margins-and-more/
|
||
55. https://www.sitepoint.com/author/brathi/
|
||
56. https://www.sitepoint.com/making-alternative-80s-film-history-come-life-photoshop/
|
||
57. https://www.sitepoint.com/making-alternative-80s-film-history-come-life-photoshop/
|
||
58. https://www.sitepoint.com/author/ggosha/
|
||
59. https://www.sitepoint.com/the-advancements-in-mobile-design-and-how-it-has-developed-into-a-strong-industry/
|
||
60. https://www.sitepoint.com/the-advancements-in-mobile-design-and-how-it-has-developed-into-a-strong-industry/
|
||
61. https://www.sitepoint.com/author/dreagle/
|
||
62. https://www.sitepoint.com/javascript-history-pushstate/
|
||
63. https://www.sitepoint.com/javascript-history-pushstate/
|
||
64. https://www.sitepoint.com/author/craig-buckler/
|
||
65. https://www.sitepoint.com/premium/library/
|
||
66. https://www.sitepoint.com/newsletters/
|
||
67. https://www.sitepoint.com/community/
|
||
68. https://www.sitepoint.com/about-us/
|
||
69. https://www.sitepoint.com/legals/
|
||
70. https://www.sitepoint.com/privacy-policy/
|
||
71. https://www.sitepoint.com/premium-for-teams/
|
||
72. https://www.sitepoint.com/contact-us/
|
||
73. https://support.sitepoint.com/hc/en-us
|
||
74. https://sitepoint.typeform.com/to/HtAXVN
|
||
75. https://www.sitepoint.com/write-for-us/
|
||
76. https://www.sitepoint.com/partnerships/
|
||
77. https://policies.google.com/privacy
|
||
78. https://policies.google.com/terms
|
||
|
||
Hidden links:
|
||
80. https://www.sitepoint.com/
|
||
81. https://github.com/JesseHerrick
|
||
82. https://twitter.com/JesseHerrick
|
||
83. https://www.facebook.com/sitepoint
|
||
84. https://twitter.com/sitepointdotcom
|
||
85. https://www.sitepoint.com/sitepoint.rss
|