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)

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

View full thread · View on Hacker News

Comment thread (19)

  1. As several others already said, how can you call it clean-room when it was made by reverse-engineering Nvidia drivers?
    Replies (2)
    1. Reverse engineering and clean-room development aren't mutually exclusive. Reverse engineering, including decompilation, can be part of a clean-room process. The relevant question is whether there's sufficient separation between the analysis of the original implementation and the development of the replacement, not whether reverse engineering occurred at all.
      Replies (1)
      1. So did you have one team reverse engineer the drivers, write a specification and have a completely separate team build software based on that specification?

        Who were in the two different teams? How did you ensure separation?

        Replies (4)
        1. These are very valid questions.
          Replies (1)
          1. For Claude, I guess
        2. Two different sandboxed AI agents who went to the same university (training data), instructed not to talk directly to each other
          Replies (2)
          1. Except they do talk to each other one-way and no one's checking what they're saying
            Replies (1)
            1. Might be sufficient for the judge and jury

              Continue this thread (1 replies) →

          2. In this case it's not even that, from its AGENTS.md every function is reverse-engineered, and the same agent (supposedly) reimplements it again.

            Besides it being the same agent with all the reverse-engineering context still there, reverse-engineering always means "inventing" code akin to the original source code, this methods basically just uses a second shot of inventing that code.

            And it might well be that there's not even this attempt of indirection: the instructions say "REA the exact algorithm step-by-step for each function" and then "Implement the full algorithm faithfully".

            Will the agent interpret the first step as writing the algorithm in pseudo-code, or will it use an actual programming language?

            If it's the second case, the succeeding step might well reuse the output of the first step directly.

            But most of all, to my understanding clean room requires extracting a higher level specification to reimplement, and your code must not be influenced by the original product's implementation details; re-implementing each function faithfully, yeah, doesn't exactly abide by these rules...

        3. > one team ... separate team

          Claude and ChatGPT working in separate directories ;-)

        4. What is software, if not a very precise specification?
          Replies (1)
          1. A specific implementation of a precise specification, with lots of arbitrary choices; which are, I believe, what makes it literary work that can be afforded copyright protection.
    2. By the way, the Nvidia terms that you accepted if you downloaded the driver forbid reverse engineering; and in any case, the drivers are likely to be employing some patent, for which even a true, legal, clean room process would require a grant.