What’s new in ruby 1.9.3?

less than 1 minute read

Ruby 1.9.3 is still in preview state, but I think no new improvements will come to the final release. 1.9.2 is the complete rethinking of the 1.9 design. 1.9.3 is only a “better implementation” of it, as Yuki ‘yugui’ Sonoda said at RubyConf Taiwan (held August 26-27, 2011). Let’s see what’s new in 1.9.3.

  • Licence was changed to joint BSD, because GPLv3 changed to force a rethink
  • New "Lazy Garbage Collector" allow code to improve response time
  • Environment variables can tune Garbage Collector
  • test/unit parallelization to improve the testing speed from stdlib
  • Faster loading (thanks for the load.c patch)
  • Random generator tweaks and rand() now accepts ranges
  • io/console, a new library in the stdlib
  • A number of tweaks to formatting strings and date formats

Yugui said, the 1.8 era’s time is up, so You should switch to 1.9. That means no more bugfixes will come to 1.8, but that will be supported for more few years.

I bought the Ruby 1.9 walkthrough, I feel like a Ruby Kung-Fu after viewed it :)

Recomended: http://rubyinside.com/19walkthrough/

Updated:

Comments