• TechNom (nobody)@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Choosing Rust instead of C or C++ for new projects is a rather light decision. But introducing it into or outright replacing legacy codebase with it is a rather phenomenal undertaking. Fish shell was completely rewritten. Linux is introducing it in no trivial way. I wonder if the woes with C/C++ is that bad.

    • raldone01@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 months ago

      For me the biggest issue is all the undefined behavior and unsafe memory.

      Taking a look at libraries everyone uses where there are unsafe memory issues for years until someone finds them shows this quite nicely.