r/programming • • Feb 24 '13

Ruby 2.0.0

http://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
600 Upvotes

193 comments sorted by

View all comments

-9

u/b103 Feb 24 '13

Awesome, I'm sure this will be adopted quickly, and in a few years time there won't be anyone still using 1.x.

cough Perl 6 and Python 3 cough

9

u/theOnliest Feb 24 '13

Perl 6 doesn't yet have a stable release (by Christmas, we hear). And the jump from Perl 5 to Perl 6 is on a different scale than the jump from Ruby 1.9.3 to 2.0.0. Perl 6 is essentially a completely new language, with new syntax and a totally different backend.

1

u/kzr_pzr Feb 24 '13

then why do they call it "Perl"? do they plan any backward compatibility?

1

u/MatmaRex Feb 24 '13

It's a spiritual successor of sorts.

7

u/kazagistar Feb 24 '13

It looks like ruby 2.0.0 is much more incremental then the others you mentioned. On their page it says that there should be less breakage from 1.9 to 2.0 then there was from 1.8 to 1.9.

1

u/jes5199 Feb 25 '13

sadly, everyone I know is still stuck on 1.8

4

u/[deleted] Feb 24 '13

I don't see why not. Practically all Ruby 1.9 programs should run without modification under 2.0. This isn't a big change as the version number appears to imply as Ruby is versioned different to Perl and Python.

1

u/xiongchiamiov Feb 24 '13

It's not a surprise the Semantic Versioning spec was created by someone working a lot with Ruby. I remember upgrading from 1.9.1 to 1.9.2 and it breaking Rake - the fuck?

2

u/MatmaRex Feb 24 '13

Well, Ruby 1.8 to 1.9 was a much larger difference (and much more fuss when trying to port code, or make it work on both), and it seems like 1.9 is pretty much fully adopted now (I have yet to find a library which isn't compatible with it).

1

u/aceofears Feb 24 '13

You must be new here, upgrading things will always take a long time. If people are satisfied with what they're currently using and there is any kind of effort required there will always be some people that won't make the upgrade for what seems like an insane amount of time for people such as yourself. I don't know enough about perl 6 to comment on that specifically but this is definitely true of python 3. Backwards compatibility was broken so that the language could move forward and leave behind some of the issues that built up over the years. That means its not only a matter of getting users to want to move to the new version but also the library creators, and that will create a chicken and egg problem. Upgrading things is really not all that simple in many cases so just be patient.