> Rust takes longer to write than C
> but spent basically zero time debugging
that's the difference to rewriting it in C
> but spent basically zero time debugging
that's the difference to rewriting it in C
Rust moves more bugs to compile time, so you will technically spend more time getting the code to compile, but in my experience in 99% of cases it's a time saving. And it lets you be more confident about a program correct by construction, rather than merely fuzzed and not observed to crash. The 1% of counter-examples is trying to be too clever with generic interfaces and hitting Rust's limits.