• ProgrammingSocks@pawb.social
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    I’m not sure I understand why people like Rust over C, although I don’t have that much experience in enterprise coding.

    I’d actually say that Rust is more popular in open-source projects. The reason people like it is because it’s WAY safer than C or C++ while being literally just as fast if not faster. I’m still in the process of learning it though so I can’t speak to your other points.

    It is worth mentioning that the White House recommends Rust over C/C++ due to its very notable safety advantage over classic languages.

    • Richard@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      How can Rust be faster than C? What is faster than unabstracted direct memory management?

    • ReversalHatchery@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      Somehow it sounds quite weird that the white house has such a recommendation. NIST, or the NSA? That would be easier to understand because they deal with code and algorithms but the white house?