Live data from Hacker News

Ruby 1.9.3 released

blade.nagaokaut.ac.jp

31–40 of 45 posts

Re: Ruby 1.9.3 released

#31

Earlier quoted context omitted.

Yeah! I plan on to start learning Ruby.

Give Python a look as well. Also, never try to embed Ruby in a C/C++ application it's not designed for it.

Python is a great language too. If I hadn't learned Python before learning Ruby, I guess I'd know Ruby poor.

Re: Ruby 1.9.3 released

#32
post #9

Earlier quoted context omitted.

[deleted]

Well depends on the purpose. For general tasks it's really vastly superior to most other languages. I personally don't like some things about the syntax but that's just my personal opinion :)

seriously? downvotes for an opinion different to yours?

Re: Ruby 1.9.3 released

#33
post #16
post #11

I've never been so excited for an unstable release. 1.9.2's require was painfully slow without the patch. edit: by "unstable", I mean a dot.uneven number.

1.9.3 is not an unstable release. Ruby uses the third version number to represent a point release, i.e. you can expect 1.9.3 to be more stable than 1.9.2 over time. I think that the versioning policy did work the way you describe it at one point, but it's no longer the case.

As far as I know, x.y.ODD (e.g. 1.8.5) was never an unstable release.

x.ODD.z (e.g. 1.7.1) was unstable up until 1.9 though.

Re: Ruby 1.9.3 released

#35
A couple of weeks ago I did a post looking at 1.9.3 and 1.9.4 and the differences involved (including a video presentation by Yugui): http://www.rubyinside.com/ruby-1-9-3-introduction-and-change...

Now, plug alert..

I'm having a 2 day 50% off on Ruby 1.9 Walkthrough to celebrate: http://www.rubyinside.com/19walkthrough/ .. Yes, totally a plug, but there isn't any more up to date walkthrough of 1.9 (which includes 1.9.3) so I'll take my chances ;-)

Re: Ruby 1.9.3 released

#36
post #29

ruby-debug19 is still not updated...

The lack of a working ruby-debug19 has been the only thing keeping me from using 1.9.3.

Just use pry, it's not really a debugger replacement, but it's useful in most cases that ruby-debug19 would be used.

http://rubygems.org/gems/pry

Re: Ruby 1.9.3 released

#38
Ruby 1.9.3-rc1 (and presumably -p0) fixed all manner of memory leak issues I was experiencing in Rails apps (Ruby 1.9.2-p290 + Rails 3.1 + Passenger 3.0.9 + Nginx). This was on top of the loading slowness of Ruby 1.9.2 with Rails.

Went from leaking MBs per request to no leakage for days.

Re: Ruby 1.9.3 released

#39
post #6

Earlier quoted context omitted.

Maybe there was something wrong with my 1.9.2, but when working with rails projects (rake, rails console etc), this feels a few orders of magnitude faster.

Here's the whole story behind this speed-up: http://www.rubyinside.com/ruby-1-9-3-faster-loading-times-re...

Thanks, I knew about that when it came out, but before I was able to install it, the preview of 1.9.3 came out - which is when I first noticed just how much faster it was.

After running a few tests on the commandline, rake and rails commands are even faster than they were in RC1.

Re: Ruby 1.9.3 released

#40
post #24

I'm a little unclear about threads in ruby 1.9. I've been told in the past that threads in ruby were problematic. Can anyone illuminate the current state of affairs?

1.8 had green threads and when the interpreter blocked on some operations it would block all the threads. 1.9 uses native threads but it has a global interpreter lock which has known issues. I am not sure what the improvements to locking in 1.9.3, as the changelog has quite a few commits related to that.

The threading change for 1.9.3 is a scheduler change that just lessens the chance of thread starvation. It's nothing to get excited about.
Post reply on HN