• y0kai@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    1 day ago

    When people say “clean-room” in reference to software, what do they mean? I get it for hardware, it literally means a clean room with no dust, which is beneficial for hardware manufacturing.

    I too have cleaned my room before opening my IDE but I don’t tell people I made a “clean room” implementation of whatever silly Python thing I made.

    is this just tech bro for “I did it with AI?”

    • SaucySnake@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      One person reverse engineers a piece of software and writes a spec for it, another person who has never seen that piece of software writes a separate implementation using the spec, thereby circumventing copyright since it was independently made with no knowledge of the original code.

    • BananaTrifleViolin@piefed.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      It’s to do with legal precedents in what you can and can’t do with software.

      When you make software, the code and art (like icons) is copyright. However the GUI/layout and general functionality is not. So when cloning software, it can look and feel exactly like the software you’re targetting (such as Photoshop or Word) but it cannot contain any code from the software.

      When people say “clean room” implementation in this context, they mean that they can guarantee the code for the clone software was entirely written without any direct view or access or use of the original code by the coders. In the past they could use various techniques to do that - including a separate team decompiling the target software and reading how it does what it does - but they cannot then just use that to write new code. Generally the coders - have to be demonstrably have implemented their version on their own, hence needing to be in a “clean room” relative to whoever is decompiling and examining the original source. That then gives them more legal protection if someone sues for copyright infringement - they can show their code is unique and copyright in it’s own right.

      For AI, they’re basically claiming “I got the AI to do this by showing it how the software functions but not the code, and asked it to reimplement it”. So it’s therefore also “clean room”.

      It’s not clear how defensible that is - if the AI is just seeing the output and making it’s own version, that’s probably defensible. But the AI could also easily decompile the code and copy it - and who would know? I suspect it’ll need careful documentation and records to prove something really is “clean room”? It’ll be interesting to see what happens - some of the big companies like Adobe or Microsoft may start using the legal system to try to block clones, maybe even if they don’t have a real case? If the projects can’t show that they really did use a clean-room approach it could get messy.

    • Flyberius [comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 hours ago

      My limited (probably wrong) understanding:

      Without AI it means you get one engineer to look at some IP protected code and then get that engineer to describe the functions to another engineer who has not seen the code and they reimplement it. Apparently this gets around IP laws. Now people do this with AI where one AI decompiles some code and tells a different AI how to build it.