• tormeh
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Holy mackerel. This seems excessive, and there’s gotta be so much nasty stuff hidden and/or forgotten in there. Is the Intel driver as large?

    • Pietrasagh@lemmy.world
      link
      fedilink
      Polski
      arrow-up
      2
      ·
      1 year ago

      Acc to article Intel driver is 381k kines. Two orders of magnitude less. There might some minor inefficiencies in AMD code, but nobody will read 34 mln of lines of code so we will never know ;-)

    • jcarax@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Meanwhile the open-source NVIDIA “Nouveau” driver is around 201k (21.7k blank lines, 24.3k lines of comments, and 155k lines of code). Or the Intel i915 DRM kernel graphics driver is around 381k lines via the same cloc judgment.

      • Imacat@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        10
        arrow-down
        1
        ·
        1 year ago

        Open source code isn’t immune to exploits. It’s impossible to exhaustively test every interaction in massive code bases for unintended behavior.

        The upside of open source is that a well intentioned person might find a vulnerability and get it fixed. Up until then it might be someone’s 0 day.

          • Imacat@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            10
            ·
            1 year ago

            Open source code isn’t immune to backdoors. It’s impossible to exhaustively test every interaction in massive code bases for unintended behavior.

            The upside of open source is that a well intentioned person might find a backdoor and get it fixed. Up until then it might be someone’s backdoor.

            Better?