by Jtsummers · 10y ago · 0 comments
If Oracle (or anyone) can copyright an API then we might as well pack up and go home. By that measure, you make a new JavaScript library for LeftPad and copyright the API along with the source. Now people start using your library. But it's inefficient. So I come along and clone it, make it faster, better, stronger, the $6 million LeftPad-compatible clone. You can sue me for violating your API copyright.
Welcome to the end.
Clearly what they did is read how the code in question works, then stole the idea to do it their way. They were looking at the source code! They did not start w/ API, there is no clean room argument that can stand ground to reason. I blame the Oracle lawyers for loosing.
The sky is not falling.
The benefit of a library, fundamentally, is that any library with a compatible interface (described by the API) can be dropped in and used in place of another library without modification to the calling code. Cloning functionality is not the same thing if we have to put a prefix: thrawaykf05s_leftPad or Jtsummers_leftPad in front of everything.
In theory, as a developer using dynamically linked libraries, I can drop in any version of a library without recompiling. As a user that means you can drop in AMD's OpenGL implementation or a GPL implementation or Nvidia's and see no difference in how you launch your program (though you'd see a difference in performance and perhaps behavior).
(OpenGL isn't a great example because the consortium running it won't do this, but it is a great example because there are many implementations.)
Now, as a developer you have to develop 100 code paths to handle each potential OpenGL implementation. Or maybe some nice person does that for you with a wrapper library. But now that wrapper library API is also copyrighted and it's out of date. So another API comes into existence that wraps it AND adds new APIs to its backend. That'd be really fucking stupid.
This case is not, of course, about APIs. It's because Sun created this enormously valuable Java developer base, and Google totally free-loaded on that to bootstrap Android. The API just happens to be the means, and hence the crux of the lawsuit.