Unofficial Hacker News companion — get notified on comment replies, and more.

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs (opens external site)

912 points by rreyes1979 1 day ago | github.com | 453 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (15)

  1. IMO a better question is, "does it need to be clean-room?" (I think the answer is no)

    So you're right, it's probably not clean-room. I think the author (or his LLM) just added those words to sound fancy.

    EDIT: I was dead wrong and I will take the L.

    Check this. https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md Yes it mentions REA, it's just decompiling the drivers, this is 0% clean-room

    Replies (1)
    1. If you use the agents to decompile the driver, then document it, then have another agent (session?) implement it based on the documentation, does that count as clean room?
      Replies (2)
      1. No. Rewording the program from assembly into human readable text does not constitute clean room.
        Replies (2)
        1. Then what constitutes clean room in your definition? I think you'll find that you've excluded every possible method.
          Replies (1)
          1. Different person here, but you can construct a spec by simply observing behavior of the system. You can even automate this, with fuzzing and related techniques.
        2. No one does it like this in practice, decompilation is almost always the first step.
          Replies (1)
          1. > decompilation is almost always the first step.

            Still not clean room. It's just assembly written in a more human readable form, the decompiled code does exactly the same as the assembly.

            Replies (1)
            1. Nobody is suggesting you copy assembly or decompiled code over. You can use it to better understand the behavior, write functional specification (which is not copyrightable) and then base the new implementation on that.

              Continue this thread (1 replies) →

      2. Isn't this how many Linux wifi and graphics drivers were written? And then didn't BSD take those drivers, and do the dame process to derive BSD versions? (Just using humans instead of AI)

        This is why, while the two sides of this debate seem evenly matched, it's clear if we do a little historical research that one side is much much more likely to win.