PROGRAMMING LANGUAGE Ruby has been updated to version 2.0 on its 20th anniversary.
Ruby, which saw something of a renaissance through the Rails framework, has been popular with web developers for its ease of development and its mature support of object oriented coding, something that PHP didn't properly embrace until PHP 5. To mark Ruby's 20th anniversary, the project has released Ruby 2.0 with more than 300 updates.
Ruby 2.0 has a number of core language updates including keyword arguments and UTF-8 encoding by default. Along with general performance improvements, the project has also included additional libraries, including one for asynchronous exception handling, though perhaps most useful is support for DTrace.
The Ruby 2.0 release notes stressed that it is ready for production use. "Note that unlike 1.9.0, 2.0.0 IS a stable release, even though its TEENY is 0. All library authors are strongly recommended to support 2.0.0. As mentioned above, it will be comparatively easy to migrate from 1.9 to 2.0."
Ruby 2.0 is compatible with Ruby 1.9, with the project claiming that it should be easier to migrate from version 1.9 to 2.0 than it was going from version 1.8 to 1.9. Ruby is available from the mirrors now. µ
Sign up for INQbot – a weekly roundup of the best from the INQ