Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×
Ruby Programming

Ruby 2.1.0 Released 65 65

Today marks the release of Ruby version 2.1.0. A brief list of changes since 2.0.0 has been posted, and file downloads are available. Here are some of the changes:
  • Now the default values of keyword arguments can be omitted. Those 'required keyword arguments" need giving explicitly at the call time.
  • Added suffixes for integer and float literals: 'r', 'i', and 'ri'.
  • def-expr now returns the symbol of its name instead of nil.
  • rb_profile_frames() added. Provides low-cost access to the current ruby stack for callstack profiling.
  • introduced the generational GC a.k.a RGenGC (PDF).
This discussion has been archived. No new comments can be posted.

Ruby 2.1.0 Released

Comments Filter:
  • Red title? (Score:3, Insightful)

    by c++ (25427) on Wednesday December 25, 2013 @03:53PM (#45783203)

    Why does Ruby get its own color?

  • Too bad (Score:4, Insightful)

    by filmorris (2466940) on Wednesday December 25, 2013 @04:01PM (#45783245)
    Wow, just yesterday it was dying, and today they release a new version! I guess they didn't get the memo
  • Re:Trendy no more? (Score:3, Insightful)

    by buddyglass (925859) on Thursday December 26, 2013 @12:47AM (#45785871)
    Not to be snarky...but what I'm hearing from you is this: "Ruby and Python occupy the same niche and there's no compelling reason to prefer Ruby over Python". This seems to jive with what the guy said who you were responding to: "Ruby adds nothing to the existing languages". If the only language that existed were C then I'd say that guy is full of shit because in that case Ruby would clearly "add something to the existing languages". But, given Python's existence, he kind of has a point. Python is more widely supported, has a larger base of developers, is generally thought to be a better "thought out" language in terms of design, and is well-suited to solving the same sort of problems Ruby is well-suited to solving.

I know engineers. They love to change things. - Dr. McCoy