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)

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

View full thread · View on Hacker News

Comment thread (15)

  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.
            Replies (1)
            1. > Nobody is suggesting you copy assembly or decompiled code over.

              I don't think I said anything about copying code, did I?

              > The term implies that the design team works in an environment that is "clean" or demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor. [1]

              So no, you can not use it because the proprietary techniques are protected by copyright. There's a difference between what's the result and how does the software achieve that result. The first isn't copyrightable, the latter is.

              [1] https://en.wikipedia.org/wiki/Clean-room_design

              > write functional specification

              And you need decompiled code to do that? Since when? If you write specification based on proprietary code, it's still proprietary code reworded. Name it however you want, it's still copyright infringement.

              > [...] decompiled code [...] You can use it to [...] write functional specification [...] then base the new implementation on that.

              So in the end: you're still basing the new implementation on the decompiled code.

              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.