Title. I’m looking for a concrete answer for this.

  • @[email protected]
    link
    fedilink
    English
    311 month ago

    Pretty much all high level languages do because they’re already designed around automatic memory management.

    • Dhs92
      link
      fedilink
      141 month ago

      Yeah, Rust is a special case because it handles almost everything at compile time. It also doesn’t rely on garbage collecting like the majority of modern high level languages.

      • Repple (she/her)
        link
        fedilink
        1
        edit-2
        1 month ago

        Swift also handles everything at compile time, using automatic reference counting. It is also in general faster then c++ in the benchmarking I’ve done for work where we are considering incrementally replacing c++ with it. (Benchmarking was focused on very language-standard code, NOT hand-optimized code focusing on getting every last ounce of speed out).