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.0.0-preview1 is out

115 pointsby tenderloveover 12 years ago

10 comments

whalesaladover 12 years ago
I have a confession to make. I've been a Python (django+flask) guy for years, but I just recently jumped ship to Ruby and couldn't be happier. Within the last 60 days I've deployed 2 production websites, rebuilt my own personal blog, and am currently busting ass on my own project's API -- all of it in Rails. I still like Python, but I'm a HUGE fan of Ruby now. It's so much fun to write.<p>I'm excited to be a part of such an active community as well. It seems like every week there is an exciting event, release, or new project being announced.<p>Looking forward to building this locally, hopefully with these fast require patches applied: <a href="http://bugs.ruby-lang.org/issues/7158" rel="nofollow">http://bugs.ruby-lang.org/issues/7158</a><p>self.woohoo!
评论 #4730894 未加载
评论 #4730947 未加载
评论 #4732549 未加载
评论 #4730884 未加载
评论 #4731100 未加载
twelvechairsover 12 years ago
The detailed 2.0.0 features list is at <a href="https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap#2.0.0" rel="nofollow">https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap#2.0.0</a> for those interested.<p>I'm surprised there's not more talk here about the interesting additional features, like Proc/Method#to_source
评论 #4732689 未加载
salimmadjdover 12 years ago
Has anyone done any performance testing on this yet? Just curious if the new bitmap GC is more efficient with memory and also if 2.0 is faster as it was promised.
评论 #4731753 未加载
eta_carinaeover 12 years ago
Is it just me or has the world moved on from Ruby? I'm seeing more companies and projects moving away from it than adopting it. It feels like Ruby had a nice shot at becoming a mainstream language thanks to Rails but it just ended up blowing up like a bubble.
评论 #4731067 未加载
评论 #4731160 未加载
评论 #4731219 未加载
评论 #4731334 未加载
评论 #4730948 未加载
评论 #4731225 未加载
评论 #4731094 未加载
评论 #4736862 未加载
评论 #4732531 未加载
评论 #4731790 未加载
评论 #4731913 未加载
nnqover 12 years ago
"Named arguments" - what took you so long?! it always annoyed me that this is not always considered a standard language feature and added in from version 0.1 of any language, no need to hack around it by passing dicts/hashes around ...Python got this right long time ago ...it always amazes me that people never seem to care about this
评论 #4732574 未加载
holgersindbaekover 12 years ago
Any plans on when 2.0.0 will be the standard? When will it be released to the world and when will it be adopted by people?
评论 #4732787 未加载
Toddwardover 12 years ago
Handy-dandy one-liner to install it with rbenv (provided you have ruby-build installed).<p>curl <a href="https://raw.github.com/gist/3998200/a09c4eb21256ad17880f7d8dcc1455c5434a1815/2.0.0-preview1.sh" rel="nofollow">https://raw.github.com/gist/3998200/a09c4eb21256ad17880f7d8d...</a> | sh
评论 #4730932 未加载
评论 #4731299 未加载
评论 #4731361 未加载
senthilnayagamover 12 years ago
rvm get head rvm install ruby-2.0.0-preview1<p>installed it for me, but rubygems install failed
wiradikusumaover 12 years ago
honest question. for someone who already know scala and groovy (moving from java), what is the selling point of ruby? esp in regards to (1) its syntax (2) its library and ecosystem and (3) its performance
评论 #4732007 未加载
评论 #4731752 未加载
评论 #4733115 未加载
tbrockover 12 years ago
Notable Features:<p><pre><code> - Named arguments - Multiple inheritance (traits) - Incremental performance improvements over 1.9's VM - Better compatibility with non-unix environments and small/constrained devices (embeddable) - Sandboxed VM's (VM per thread)</code></pre>
评论 #4731490 未加载
评论 #4731518 未加载