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 1.9.3 RC1 is out

96 pointsby telemachosover 13 years ago

6 comments

rbransonover 13 years ago
<i>sigh</i> I wish I could get excited about MRI releases. It's one of the most disappointing parts of using Ruby for my daily grind. The sluggish pace of innovation is sometimes demoralizing. Until 1.9.2, released a year after 1.9.1, and 4 years after 1.9.0, the 1.9 branch was too unstable for production use. Why were 1.9.0 and 1.9.1 GA releases again? The GC also still sucks, so the performance improvements from 1.9 are mostly nullified in real world applications.<p>Sometimes I wish the work on alternative implementations would be devoted to effort on MRI, but I understand this is a much more complex issue than it appears on the surface. It seems like all of the developers interested in real change in MRI that have the skills to make that change have hopped on to more interesting alternative implementations or left Ruby altogether.<p>While I've put JRuby in production for some smaller, non-Rails codebases that used JVM libraries, I've tried to run some non-trivial Rails applications on JRuby and it's just too slow for development work. Load time on code seems to be an order of magnitude slower, which is real time that adds up over a day worth of work to be something significant, so I'm back to REE. Rubinius is cool and they've come an amazingly long way, but personally I think the project suffers from what I'm going to call "sufficiently smart compiler" syndrome. After 5 years of work, they're still not even close to JRuby or MRI performance on real-world applications.<p>I've spent hours and hours understanding the technical and human reasons why all of these problems exist, but unfortunately the reality of shipping things trumps.<p>I guess that's why I've got this Clojure book in front of me.
masnickover 13 years ago
Here's a list of what's new in 1.9.3: <a href="http://www.rubyinside.com/ruby-1-9-3-introduction-and-changes-5428.html" rel="nofollow">http://www.rubyinside.com/ruby-1-9-3-introduction-and-change...</a><p>Scroll down on that page for some more lengthy explanation.
评论 #3033188 未加载
Fluxxover 13 years ago
Let's not forget Date got rewritten in C, so now it's fast:<p><a href="https://gist.github.com/1117138" rel="nofollow">https://gist.github.com/1117138</a>
评论 #3033416 未加载
评论 #3033464 未加载
chrismealyover 13 years ago
Does this do anything for rails startup time?
评论 #3034508 未加载
评论 #3034432 未加载
rb2k_over 13 years ago
Does anybody know if the parallel tests will be ported to test-unit 2.x? Or if it is actually using minitest to do so: Is there a way to get minitest to output junit compatible xml? (ci_reporter doesn't support minitest)
phzbOxover 13 years ago
<p><pre><code> rand(1..10) </code></pre> is now possible, cool!<p>Also:<p><pre><code> 'est'.prepend('t') == 'test' </code></pre> might be useful.
评论 #3033312 未加载