• JamonBear@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 day ago

    IMO this is where Rust shines. Error handling in Rust is much better than in C or C++, you cannot discreetly discard error types or ignore exceptions. You always have to be explicit (puting aside unsafe code). So if you focus on happy path first, your code will be full of .unwrap() calls which are easy to patch afterwards.

      • 0x0@infosec.pub
        link
        fedilink
        English
        arrow-up
        8
        ·
        14 hours ago

        Eh, considering stock nvidia cards catching on fire at the power socket, how much worse could it be really ¯\_(ツ)_/¯

        • Rednax@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 hours ago

          If the nvidia limits are already so loose that cards catch on fire, then removing those limits may not be the best idea.

    • benno@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      24 hours ago

      the AI rust rewrite was probably done in reaction to the “NVIDIA driver eating SSD incident” and I don’t see how a memory-safe/error-handling-safe language would have prevented an issue like that