TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ruby 2.2.0 Released

327 点作者 kokonotu超过 10 年前

13 条评论

jayroh超过 10 年前
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 未加载
mrmondo超过 10 年前
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 未加载
xfalcox超过 10 年前
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 未加载
hit8run超过 10 年前
Ruby seems to continuously move forward. Great to see that they manage to keep this project alive without a python 2vs3 disaster.
评论 #8796168 未加载
评论 #8796090 未加载
joshdotsmith超过 10 年前
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.
blacktulip超过 10 年前
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_oof超过 10 年前
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 未加载
cmelbye超过 10 年前
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_call超过 10 年前
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 未加载
calineczka超过 10 年前
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 未加载
arikrak超过 10 年前
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 未加载
andersonmvd超过 10 年前
The download URL should be HTTPS, but at least they informed the digests.
claudiug超过 10 年前
nice! Hope that version 3 will add jit :)