3 ms·
> Rust is expensive to develop - if you can afford to use a GC, you should use a GC This has not been the case for many people using Rust, including myself. On
by TheHydroImpulse 11y ago
> Rust is expensive to develop - if you can afford to use a GC, you should use a GC
This has not been the case for many people using Rust, including myself. Once you learn the language, there is no "cost" to use it. In fact, the compiler simplifies much of the mental overhead when dealing with concurrency, sharing data, mutability, etc... Sure the compiler has some strict rules, but it's not expensive to develop in by any means.
I would also say Rust is in a sense higher-level than Go in terms of expressiveness and abstractions.
- Retra 11y agoRust can be hard to refactor. Not sure if that's a problem with Go, but it's a real cost.
- TheHydroImpulse 11y agoHow so? From my experience, I was able to make massive changes and the compiler would guide me through to make sure I didn't miss anything. If it compiles, it'll generally work minus any logical errors/changes.
- kibwen 11y agoThere are definitely refactoring woes to be had when taking an existing struct and changing it such that it now stores a reference in one of its fields, requiring lifetime parameters to trickle down through your program. The compiler guides you in getting it all right, but it's something that I'd rather see an IDE do automatically in the future.