Live data from Hacker News

Ruby 3.0.0 RC1

ruby-lang.org

1–10 of 133 posts

Re: Ruby 3.0.0 RC1

#2
Love the move to gemify standard library. This is a perfect mix of batteries included but also makes it easy to upgrade bits of the standard library over time between releases. Great way to prevent stagnation.

Re: Ruby 3.0.0 RC1

#4
Could someone familiar with the Fiber/Async thing explain how does this differ from Python's (or Node's)? How come Python (and Node) needs explicit awaits but Ruby seems to "just work"?

Re: Ruby 3.0.0 RC1

#5
I've been writing Python for close to a decade off and on. I'm just now dipping my toes into Ruby and have found it quite fun- excited to dig deeper into this and Rails :D

Re: Ruby 3.0.0 RC1

#6
RC1 is a little bit late for a Christmas Day release (which is a long-running Ruby tradition). I wonder if they’ll make it, and if so, if 3.0.0 will be less stable than usual.

Re: Ruby 3.0.0 RC1

#7
post #4

Could someone familiar with the Fiber/Async thing explain how does this differ from Python's (or Node's)? How come Python (and Node) needs explicit awaits but Ruby seems to "just work"?

Not an implementer but I would say those are just blocking method calls, like Thread.join. No magic happening.

Re: Ruby 3.0.0 RC1

#8
Well done to all contributors, looking forward to giving it a spin and learning about the additions. Has anyone had experience using RBS yet?

Re: Ruby 3.0.0 RC1

#9
post #5

I've been writing Python for close to a decade off and on. I'm just now dipping my toes into Ruby and have found it quite fun- excited to dig deeper into this and Rails :D

Be sure to check out Jeremy Evans on GitHub and his whole suite of tools: Rosa, Sequel, etc.

Rails is good, but the ecosystem beyond Rails is better in many cases.

Re: Ruby 3.0.0 RC1

#10
I'm glad to see they're picking up native type-hinting. I don't like many of the existing bolt-on type systems for Ruby and the whole thing feels so much more kosher when it's official.

The concurrency stuff is cool but I can't really comment on it, my rule is "if you're going to even think about threads, just use Java or go" since concurrency is so nice there.

I really wish ruby had won over python as the "general purpose scripting language", I like it better. For example, I wish all the "big data" tooling was written in Ruby. But python is just the lingua franca. PySpark, Pandas, Airflow, etc are all python. I'm not really going anywhere with this, just lamenting I don't get to do more Ruby in my day job. I recently switched to writing python at home just because my productivity is so much better because I've memorized the standard library better from using it for years at work.

Post reply on HN