3 ms·
Slow compile times can reduce productivity.
by saagarjha 4y ago
Slow compile times can reduce productivity.
- rapsey 4y agoNot nearly as much as chasing bugs that do not happen in Rust.
- saagarjha 4y agoThat would depend on what you're doing, of course :)
- rapsey 4y agoNo not at all.
- saagarjha 4y ago…perhaps you lack experience of a time where fixing bugs that cannot be effectively discovered using tools available in other languages took less time than the equivalent code in Rust would take to compile?
- rapsey 4y agoYet all the tools that exist still don't prevent memory safety bugs found regularly in pretty much any C codebase. Using safe rust will be a productivity boon because of its type system, crate ecosystem and memory safety.
- saagarjha 4y ago> Yet all the tools that exist still don't prevent memory safety bugs found regularly in pretty much any C codebase. They can help, but I am well aware of which kinds of bugs existing C tooling cannot catch. I still take issue with your opinion, which hold through this thread, that claims that productivity gains from not having to track these down necessarily outweighs Rust's compile times.
- Shinmon 4y agoMost of the errors can already be caught by running `cargo check` which is substantially faster than rust. Coming from C++ rust's compile times don't feel extraordinarily long.