To the people who maintain the tools and platforms around these large version updates - thank you. rvm, ruby-build, homebrew, heroku - you're all truly generous for having everything ready for us almost immediately (on Christmas morning no less).<p>You're all wonderful- merry Christmas! <3
Great work to the ruby team, the improvements in Ruby's performance since 2.x have been very impressive to say the least. Well done and Merry Christmas to everyone that worked hard on this release.
Guys, I made a very simple pull request regarding auto proxy detection on the standard library of ruby, but it still open after a little while. Someone here have some directions on how to contribute correctly to the project?
For rvm users, remember to run<p><pre><code> rvm get stable
</code></pre>
before trying to<p><pre><code> rvm install ruby-2.2.0
</code></pre>
You might end up getting preview1 unexpectedly.
Interesting: vfork support.<p>Vfork in most older systems is like fork except it doesn't deeply duplicate all process state immediately (file handles, memory, such), so it can be faster if all the app wants to do is fork/exec. (We had to implement both fork and vfork in minix 2.x in uni.^)<p>But according to SO, most OSes implement fork lazily, so there's not much point in using it when fork will be just as fast without any change.<p>If there were a slowly-performing platform that has a specific performance issue identified by profiling as caused by fork, then mature optimization could follow. Otherwise, it seems like adding LoC without a clear goal.<p>The Symbol GC sounds good. Maybe this will imply code can associated with classes and modules can be GCed and required anew once all objects are freed (live upgrade apps without restarts).<p>^ The first thing I did to the Minix codebase was set keyboard repeat rate to the fastest possible values. Everyone else seemed content to waste their life waiting for their editor and debugger to move at a snail's pace. Of course, no else had x86 asm / pc hw io experience.
It's a bit weird that symbols are garbage collected. I wouldn't think it could delete them without making the same symbols unequal some of the time.
I have problem installing on ubuntu 12.04 : <a href="https://gist.github.com/paneq/fee5477fb7ab1ede0104" rel="nofollow">https://gist.github.com/paneq/fee5477fb7ab1ede0104</a> . Did any of you experienced that as well?
Anyone know how Ruby 2.2 works with Rails on Heroku (with unicorn)? When I switched from 2.0 to 2.1, it caused all sorts of memory problems so I had to switch back.