News for hackers. Stuff that matters.
Re:Why Wasn't Ruby 3 Faster? by ttt0 on Wednesday February 10, 2021 @09:29PM (#26097545)
If compiling 7 lines of code in release mode takes few minutes in Rust, just like it does in Crystal (I don't know exactly how long, I got bored and gave up, so it's possibly more), then I wouldn't touch that language with a ten foot pole either. It's fine to make trade-offs, it's just not a trade-off I'm personally willing to make. As to the productivity thing, it's debatable I guess.
Re:Why Wasn't Ruby 3 Faster? by natchy on Wednesday February 10, 2021 @09:43PM (#26097647)
Minutes? Now way! I have a Crystal code base with 10s of thousands of lines and it takes like 10-30 seconds.

The solution is to start breaking up the monolith so you only compile sections at a time.

Re:Why Wasn't Ruby 3 Faster? by ricardobeat on Wednesday February 10, 2021 @09:38PM (#26097615)
It doesn't, a few seconds in debug mode, maybe 10-15s for release. I actually have a couple scripts that use `crystal run` instead of a compiled binary.
Re:Why Wasn't Ruby 3 Faster? by Toutouxc on Thursday February 11, 2021 @02:37AM (#26099180)
> compiling 7 lines of code in release mode takes few minutes in Rust, just like it does in Crystal

So when did you start using a Nokia 3310 as your dev machine?