Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Ruby 2.0.0 is out & production-ready

For general discussion related FlowStone

Ruby 2.0.0 is out & production-ready

Postby infuzion » Sun Feb 24, 2013 8:42 pm

http://www.ruby-lang.org/en/news/2013/0 ... -released/
Some of the highlights:

Language core features
Keyword arguments, which give flexibility to API design
Module#prepend, which is a new way to extend a class
A literal %i, which creates an array of symbols easily
__dir__, which returns the dirname of the file currently being executed
The UTF-8 default encoding, which make many magic comments omissible
Built-in libraries
Enumerable#lazy and Enumerator::Lazy, for (possibly infinite) lazy stream
Enumerator#size and Range#size, for lazy size evaluation
#to_h, which is a new convention for conversion to Hash
Onigmo, which is a new regexp engine (a fork of Oniguruma)
Asynchronous exception handling API
Debug support
DTrace support, which enables run-time diagnosis in production
TracePoint, which is an improved tracing API
Performance improvements
GC optimization by bitmap marking
Kernel#require optimization which makes Rails startup very fast
VM optimization such as method dispatch
Float operation optimization


...notable incompatibilities we know of:
The default encoding for ruby scripts is now UTF-8 [#6679]. Some people report that it affects existing programs, such as some benchmark programs becoming very slow [ruby-dev:46547].
infuzion
 
Posts: 109
Joined: Tue Jul 13, 2010 11:55 am
Location: Kansas City, USA, Earth, Sol

Return to General

Who is online

Users browsing this forum: No registered users and 126 guests