logoalt Hacker News

kimixa • today at 1:37 PM • 7 replies • view on HN

Considering https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md specifically mentions decompiling the proprietary driver I assume that was used as a reference for stuff like that.

And makes me wonder what the author thinks "clean room" means.


Replies

jeroenhd • today at 1:44 PM

The original story behind the "clean room" decompilation that made affordable PCs possible involved having one person decompile/decode instructions, describe what it does, and having another re-implement the code.

An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.

This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.

➕ show 3 replies
strobe • today at 1:42 PM

probably 'clean room agents laundering': one agent reverse engineered and wrote a spec then other agent worked on implementation based on spec. Which is how it may work in theory but unlikely anyone really can believe that is no leak of original in that spec.

faldore • today at 1:56 PM

Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

If you have a different view of clean room that's cool, you can make your own clean room reimplementation, and rightfully claim it's better than mine.

➕ show 4 replies
cogman10 • today at 1:38 PM

They vacuumed before firing up claude code.

➕ show 1 reply
supjeff • today at 1:52 PM

im here to register my dismay at the use of "clean room" too. vague nonsense

leobuskin • today at 1:58 PM

I see "REA" - I know that the person doing RE is not a professional, I'm sorry, REA - is a bundle of semi-random tools glued with slop'd guidelines. This reconstruction needed to be gated with byte-identical verification done with the original toolchain (it's easy to fingerprint it and its flags). And only when you have it verified in the original language (C/C++? whatever nvidia used), did multi-pass review with names reconstruction, covered with tests and so on -> you could port it to Rust. Right now is a ticking bomb (just bc it speaks with hw low-level), let's be honest.

rickdeckard • today at 1:49 PM

> "And makes me wonder what the author thinks "clean room" means."

Either the whole definition of clean-room changed or he just cleaned his room before release... /s

This Markdown is quite a gem. It describes "We are building a clean-room Rust driver" in the title, with Step #1 asking to decompile the driver and "Understand the subsystem's full call graph, object ownership, state machines, and lock hierarchy before writing any code."...

It literally asks to reverse-engineer the original implementation and then rewrite it with "new code".

I doubt this can be used to circumvent any IP-claim...