• JamonBear@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days 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
          0
          ·
          2 days 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
            0
            ·
            1 day 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
        0
        ·
        2 days 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