• rumschlumpel@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    18 hours ago

    I have strong doubts that rust could significantly speed up a software that’s written in C or C++.

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      4 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.