3 ms·
> It's not worth it, just learn C or C++. And your productivity on your team plummets as a result. Rust also has slow build times [0], but it didn't stop peop
by yannoninator 6y ago
> It's not worth it, just learn C or C++.
And your productivity on your team plummets as a result.
Rust also has slow build times [0], but it didn't stop people from using it.
[0] https://pingcap.com/blog/rust-compilation-model-calamity https://pingcap.com/blog/rust-compilation-model-calamity
- metreo 6y agowell.. certainly it has stopped 'some' people from using it though for many the compilation costs are worth it
- yannoninator 6y ago> for many the compilation costs are worth it If the rust syntax and borrow checker wasn't masochistic enough...
- ttt0 6y agoIf 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.
- ricardobeat 6y agoIt 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.
- natchy 6y agoMinutes? 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.
- Toutouxc 6y ago> 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?