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

  • Dhs92
    link
    fedilink
    1123 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)
      link
      fedilink
      1
      edit-2
      3 hours 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).