Slide with text: “Rust teams at Google are as productive as ones using Go, and more than twice as productive as teams using C++.”

In small print it says the data is collected over 2022 and 2023.

  • @jack@monero.town
    link
    fedilink
    -128 months ago

    But Go has garbage collection so that code is as correct as that of Rust. Go is just a little less performant

    • @orclev@lemmy.world
      link
      fedilink
      English
      238 months ago

      Rusts ownership model is not just an alternative to garbage collection, it provides much more than that. It’s as much about preventing race conditions as it is in making sure that memory (and other resources) get freed up in a timely fashion. Just because Go has GC doesn’t mean it provides the same safety guarantees as Rust does. Go’s type system is also weaker than Rusts even setting aside the matter of memory management.