• LeFantome@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    24 hours ago

    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.