TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby 2.2.0 Released

327 pointsby kokonotuover 10 years ago

13 comments

jayrohover 10 years ago
To the people who maintain the tools and platforms around these large version updates - thank you. rvm, ruby-build, homebrew, heroku - you&#x27;re all truly generous for having everything ready for us almost immediately (on Christmas morning no less).<p>You&#x27;re all wonderful- merry Christmas! &lt;3
评论 #8796626 未加载
mrmondoover 10 years ago
Great work to the ruby team, the improvements in Ruby&#x27;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.
评论 #8796018 未加载
xfalcoxover 10 years ago
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?
评论 #8797243 未加载
hit8runover 10 years ago
Ruby seems to continuously move forward. Great to see that they manage to keep this project alive without a python 2vs3 disaster.
评论 #8796168 未加载
评论 #8796090 未加载
joshdotsmithover 10 years ago
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.
blacktulipover 10 years ago
Great work. Thanks for the Christmas gift.<p>btw: anyone else thinks Rails was mentioned too much in the release note?
评论 #8796269 未加载
评论 #8796547 未加载
评论 #8796066 未加载
评论 #8796044 未加载
rab_oofover 10 years ago
Interesting: vfork support.<p>Vfork in most older systems is like fork except it doesn&#x27;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&#x2F;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&#x27;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&#x27;s pace. Of course, no else had x86 asm &#x2F; pc hw io experience.
评论 #8796180 未加载
cmelbyeover 10 years ago
Not compatible with Rails 3.2.x, for those still on that version. (And possibly will never be, as 3.2.x only receives security updates now.)
评论 #8797820 未加载
current_callover 10 years ago
It&#x27;s a bit weird that symbols are garbage collected. I wouldn&#x27;t think it could delete them without making the same symbols unequal some of the time.
评论 #8796086 未加载
评论 #8796586 未加载
calineczkaover 10 years ago
I have problem installing on ubuntu 12.04 : <a href="https://gist.github.com/paneq/fee5477fb7ab1ede0104" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;paneq&#x2F;fee5477fb7ab1ede0104</a> . Did any of you experienced that as well?
评论 #8797510 未加载
arikrakover 10 years ago
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.
评论 #8796397 未加载
评论 #8802906 未加载
andersonmvdover 10 years ago
The download URL should be HTTPS, but at least they informed the digests.
claudiugover 10 years ago
nice! Hope that version 3 will add jit :)