Comment by xyzzy_plugh
Comment by xyzzy_plugh a year ago
You should consult a lawyer. It's one thing if it's a clean-room implementation but every IP attorney I have ever interacted with would disagree with you.
It doesn't take much for a court to consider something a derivative work.
You cannot copyright algorithms. Ergo, the expression of an algorithm in one language is not a copyright violation of an expression of the same algorithm in a different language.
Of course, there's a gray zone: what about a reimplementation in the same language, but with different variable names? Those cases are why we have courts.
But ... if you figure out how to solve Rathbone's conjecture[0] and reveal the source code for it in C++, my reimplementation of that in Rust or Lua does not constitute a derivative work.
One exception would be if you managed to patent some feature of the algorithm (RSA comes to mind, or frequency-based colors for drawing waveforms). That's a different story.
[0] invented :)