Live data from Hacker News

Ruby 3.0 Preview 1

ruby-lang.org

41–50 of 207 posts

Re: Ruby 3.0 Preview 1

#41
post #21

My thoughts: - RBS: meh... might get more useful in the future (in 2-5 years maybe). - Ractor: Wohooo! I'm writing a DAG library where I was thinking of implementing something like this, good to know I can use it and get real parallelism on top. - Scheduler: :shrug: don't know about this one, might be relevant with future concurrent ruby code, any ideas? - Rightward assignment: it's a bit awkward but I see the use ca…

My thoughts: - A Ruby "Preview 1" release? Oh crap, I have to start Christmas shopping soon.

This is funny. Need more inside engineering jokes...

Re: Ruby 3.0 Preview 1

#42
post #23
post #20

So now there are basically no dynamically typed languages left. There's Scheme, JavaScript, what else? All languages nowadays are converging to TypeScript/Rust. It's kind of sad.

what do you mean? you can certainly use vanilla javascript if you really want, same with ruby. its not like types are forced down your throat

Ditto for Python, you can not use the type hints/don't run MyPy.

OTOH, by skipping typing you lose a lot of guardrails and won't discover bugs until runtime.

Re: Ruby 3.0 Preview 1

#43

If you interested in seeing how the 3x3 initiative* has come along, here are the benchmarks so far: https://github.com/mame/optcarrot#readme Personally, I am very excited for this release. * Matz's goal to get Ruby 3 to be 3x faster than Ruby 2. -- @sosodev Thanks for the updated info!

I have been out of the ecosystem for a while, but use Ruby frequently. So the 3x3 is coming along? More up to date places I could see benchmarks or similar?

Note: I have been using Roda with Ruby 2 and it is pretty fast. Can't wait to see what it would be with 3x3.

Re: Ruby 3.0 Preview 1

#44

Earlier quoted context omitted.

Metaprogramming is an important part of ruby, so method_missing stays.

No, metaprogramming is a stain on software engineering that all ecosystems are moving away from. Except Ruby.

This comment sounds so joyless. The programming language ecosystem allows for all sorts of approaches, some many folks love passionately, and some you may not like.

However, your comment seems to suggest a whole swatch of software engineers are simply wrong/ignorant because they enjoy one of these paradigms that you don't. Burned or not in the past, I can't help seeing your comment as a form of anti-intellectualism.

Re: Ruby 3.0 Preview 1

#45
post #20

So now there are basically no dynamically typed languages left. There's Scheme, JavaScript, what else? All languages nowadays are converging to TypeScript/Rust. It's kind of sad.

Python is pretty popular

Re: Ruby 3.0 Preview 1

#48
post #21

My thoughts: - RBS: meh... might get more useful in the future (in 2-5 years maybe). - Ractor: Wohooo! I'm writing a DAG library where I was thinking of implementing something like this, good to know I can use it and get real parallelism on top. - Scheduler: :shrug: don't know about this one, might be relevant with future concurrent ruby code, any ideas? - Rightward assignment: it's a bit awkward but I see the use ca…

> - Endless method: this one is cute, I love it! It's a weird name for it. It should probably be called something like 'equational method definitions'

It's sort of a pun, because the method doesn't need an "end".

Re: Ruby 3.0 Preview 1

#49

Question: will the nonblocking scheduler start to make Ruby concurrency competitive with e.g. Node.js and Go? Currently Ruby mostly uses heavyweight threading mechanisms that cause trouble for I/O-bound microservices.

Yes.

Re: Ruby 3.0 Preview 1

#50
post #21

My thoughts: - RBS: meh... might get more useful in the future (in 2-5 years maybe). - Ractor: Wohooo! I'm writing a DAG library where I was thinking of implementing something like this, good to know I can use it and get real parallelism on top. - Scheduler: :shrug: don't know about this one, might be relevant with future concurrent ruby code, any ideas? - Rightward assignment: it's a bit awkward but I see the use ca…

Latest talk about scheduler: https://www.youtube.com/watch?v=Y29SSOS4UOc

Recent summary of scheduler, a little bit out of date (changes to interface): https://www.codeotaku.com/journal/2020-04/ruby-concurrency-f...

Post reply on HN