News for hackers. Stuff that matters.
Re:Ruby 3.4.0 by viraptor on Wednesday December 25, 2024 @06:36AM (#42508305)
If you're happy to trade the ecosystem and a bit of compilation speed for types, then Crystal is a perfectly cromulent choice.
Re:Ruby 3.4.0 by jbverschoor on Wednesday December 25, 2024 @09:51AM (#42509042)
Except it's not because:

1) It has differences in behavior with certain classes and is not a drop-in replacement.

2) It always compiles, so it's kind of slow to compile-test

Re:Ruby 3.4.0 by viraptor on Wednesday December 25, 2024 @02:11PM (#42510511)
It's not a 100% compatible replacement, but I've ported a few things with only trivial chances. I didn't say it's a drop in, just that it's a fine choice.

Compile/test time is ok. It's a few extra seconds to run tests, but hasn't been an issue in practice for me.

Re:Ruby 3.4.0 by t-writescode on Wednesday December 25, 2024 @01:25PM (#42510256)
I've heard good things, yeah :)

I've tend to have found Kotlin to be the direction I'm more happy going with. It speaks to my particular itches for me personally, more effectively. I can absolutely see how it's a very effective choice.