Ruby 2.0.0 released

New language features, debug support and performance enhancements are among the new updates to Ruby 2.0.0, the first stable release of 2.0 series of the object oriented programming language.

In a statement accompanying the release, Ruby.org said 2.0.0 will be compatible with earlier versions of the language although users may encounter some difficulties with much older versions and support widely used applications.

“We have also taken care with the 2.0.0 design to make it compatible with 1.9,” the statement said. “It will be easier to migrate from 1.9 to 2.0 than it is from 1.8 to 1.9.”
 

Image of Rails Girls from RailsLearning
 
“Thanks to the dedication of third parties, some popular applications such as Rails and tDiary have been reported to work on the release candidate version of 2.0.0,” the statement said.

RELATED CONTENT

10 programming languages that could shake up IT
Microsoft’s C# gets an ‘A’
Ruby on Rails getting HTTP streaming

Other notable highlights of the upgrade are:

-Language core features such as key arguments that provide flexibility to the application programming interface (API) design
-DTrace debug support which enables run-time diagnosis in production
-TracePoint which is an improved tracing API
-Kernel optimization to make Rails startup faster
-Virtual machine optimization
-Float operation optimization

Ruby 2.0.0 also comes with documentation improvements.

“We have added a huge amount of rdoc for modules and methods,” Ruby.org said. “2.0.0 will be around 75 per cent document while 1.9.3 was about 60 per cent.”

For more information and to download Ruby 2.0.0, click here