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.

  • @orclev
    link
    English
    2411 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.

    • @asdfasdfasdf
      link
      511 months ago
      • data races

      Rust still can have race conditions

      • @orclev
        link
        English
        111 months ago

        True, but ownership does eliminate a lot of the possible sources of them.

    • @[email protected]
      link
      fedilink
      311 months ago

      Also go is quite a lot slower than rust. It seems fast compared to python or course but it’s probably half the speed of Rust.