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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rails master is now 4.0.0.beta; Ruby 1.8.7 support dropped

100 点作者 utkarshkukreti超过 13 年前

3 条评论

evdawg超过 13 年前
Rails needs to do a release solely focused on speed. Dropping 1.8.7 is a good step for a lot of people, but I feel Rails itself has gotten slower since 2.x and I know a lot of people would agree with me.<p>I do a lot of work in CodeIgniter as well as Rails (w/ Ruby 1.9.2 in production), and there's no doubt that my CodeIgniter apps <i>on slower servers</i> with little-to-no deliberate optimization are faster than my Rails apps.<p>For just one particular example, I have found rendering partials in Rails are such a point of poor performance that I have often found myself avoiding it.<p>There's this red herring (and a pet peeve) that making the framework 'less bloated' by dropping components or making them optional equals performance. You'll even see a comment on this blog post asking which components to remove to improve performance! It doesn't work that way when the core components of Rails remain slow.<p>While the speed of Rails had Ruby 1.8.7 to blame for a long time, now that it's being dropped I think 4.0 has a unique opportunity to optimize for 1.9 and make a big difference to the overall speed of the framework.
评论 #3381834 未加载
评论 #3381871 未加载
评论 #3381799 未加载
vinhboy超过 13 年前
Thank goodness for RVM. Can't imagine what I would do without it...
评论 #3381824 未加载
prpatel超过 13 年前
In case you guys missed it, there was a recent HN article on the speed improvements in jruby + jdk 1.7. I too lament the slowness of Rails - and before you throw the usual arguments at me about perf being relative and 'good enough' blah blah - the ruby/rails community should have seriously addressed this _long_ ago. I've only started with rails recently (this year) and am experimenting with jruby since my patience has worn thing with ruby's speed.