• LeFantome@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    16 hours ago

    think it’s fair to say performance rust is hard to write

    This situation proved exactly the opposite.

    They wrote a utility to pass functional tests. It did. Then people said it was too slow. So, in just a few days or hours, they dramatically sped it up while still passing the tests.

    Seems like it was pretty easy to write fast Rust code in this case.

    • chocrates@piefed.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      9 hours ago

      Fair point. I am mostly going on what I have seen others do on streams when comparing rust and go. Go seemed faster to get good performance and rust sometimes had to write a ton of code to get the same performance.

      I don’t know if you can selectively not use Go’s garbage collector, but that seems to be the only reason Go might be theoretically slower than rust.