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

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    22 hours ago

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

    • Dhs92
      link
      fedilink
      arrow-up
      11
      ·
      21 hours 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)@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        55 minutes 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).