Rust is generally not going to outperform well optimized C code.
That said, it is far easier to write performant Rust code than C code. So, what we see, is that projects that move to Rust frequently see performance gains.
That just means the initial C code was not that great (performance wise). From observation, most C projects are fairly unoptimized.
Maybe cause Apt is slow?
edit: maybe i have a placebo effect or i am miss remembering :P
I have strong doubts that rust could significantly speed up a software that’s written in C or C++.
Rust is generally not going to outperform well optimized C code.
That said, it is far easier to write performant Rust code than C code. So, what we see, is that projects that move to Rust frequently see performance gains.
That just means the initial C code was not that great (performance wise). From observation, most C projects are fairly unoptimized.