"They turn what would have taken 100000 lines of C or 25000 lines of C++ to a few 1000s lines of Rust."
How do they do with smaller programs that would have taken far less than 100,000 lines of C.
For whatever reasons, many authors choose to rewrite small C utilties, or create similar ones, using Rust.^1 Perhaps there are countless examples of 100,000 line C programs rewritten in Rust but the ones I see continually submitted to HN, Github and elsewhere are much smaller.
How does Rust compilation time compare with C for smaller programs.
NB. I am not asking about program size. I am asking about compilation speed.
(Also curious about resource usage, e.g. storage, memory. For example, last time I measured, Rust compiler toolchain is about 2x as large as the GCC toolchain I am using.)
1. Some of these programs due to their size seem unlikely to have undetected memory-safety issues in any language. Their size makes them relatively easy to audit. Unlike a 100,000 line C program.
How do they do with smaller programs that would have taken far less than 100,000 lines of C.
For whatever reasons, many authors choose to rewrite small C utilties, or create similar ones, using Rust.^1 Perhaps there are countless examples of 100,000 line C programs rewritten in Rust but the ones I see continually submitted to HN, Github and elsewhere are much smaller.
How does Rust compilation time compare with C for smaller programs.
NB. I am not asking about program size. I am asking about compilation speed.
(Also curious about resource usage, e.g. storage, memory. For example, last time I measured, Rust compiler toolchain is about 2x as large as the GCC toolchain I am using.)
1. Some of these programs due to their size seem unlikely to have undetected memory-safety issues in any language. Their size makes them relatively easy to audit. Unlike a 100,000 line C program.