Friday, November 4, 2011

What is Ruby 2.0 and What’s New?

Matz made a commit to the MRI Ruby repository bumping the trunk version from 1.9.4 to 2.0.0, marking the start of the work of implementing the long-discussed ideas for Ruby 2.0.

What is Ruby 2.0?

Ruby 2.0 is the next major version release of MRI Ruby, the de facto official Ruby implementation.
Ruby 1.9.3 is due out any time soon and Ruby 1.9.4 is under active development (it has moved to a separate branch now that trunk is 2.0.0). We recently learned that Ruby 2.0 would then follow Ruby 1.9.4.

Will Ruby 2.0 be a huge leap forward?

No. While 2.0 will include a number of syntax changes, new features and general improvements, mentioned below, it is anticipated to remain backward compatible with code written for 1.9.3 and Matz has stated that the changes are less significant than those made in the 1.8 to 1.9 jump.

The discussion surrounding Ruby 2.0's feature set spans back several years (mostly on the ruby-talk and ruby-core mailing lists) and 2.0 was initially expected to introduce significant syntax changes and not be backwards compatible. Things have changed with Ruby 1.9 moving into production (it was originally a development only version) and 2.0 being an evolution rather than a revolution.

Source: Ruby Inside

1 comments:

kaviya said...

Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!


Ruby Development

Post a Comment