Slashdot Mirror


Ruby 2.1.0 Released

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).

1 of 65 comments (clear)

  1. Re:For a dying language Ruby is doing great by cold+fjord · · Score: 1, Offtopic

    For a dying language Ruby is doing great ..... What comedic timing: Is Ruby Dying.

    The key thing to understand is that Netcraft didn't confirm it.

    I think this submission, Warcraft confirms it - Iranian sanctions are trying, which turned into this story, Iranian Players Blocked From World of Warcraft Due To Trade Sanctions , is still one of my favorites for playing with that meme.

    Cheers

    --
    much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell