I think the "how much" depends on yes, the amount of errors, but also what kind of errors. Some are pretty easy to catch (e.g. forgotten semicolon) and some are harder (e.g. buffer overflow). And harder errors obviously take longer.
I think the "how much" depends on yes, the amount of errors, but also what kind of errors.
Even then, the issue is that a 5-10x increase to find a single, even if major, error, is a massive time increase. The assumption as well, here, is that implementing rust will automatically find these problems. That's a large assumption.
Yeah, it definitely depends on how much longer it's going to take, how many and how severe the errors are, and on how well the compiler is at finding them.
Safe rust guarentees no undefined behavior and memory issues. It's not a hopefully. If you used safe abstractions someone already made in the kernel, UB shouldn't be a thing.
1
u/[deleted] Apr 15 '21
Besides productivity while working on the source code when compilations takes long, what exactly is bad about long compilation times?