Amazon's CodeWhisperer
Amazon's CodeWhisperer
Posted Jul 6, 2022 15:09 UTC (Wed) by khim (subscriber, #9252)In reply to: Amazon's CodeWhisperer by farnz
Parent article: Amazon's CodeWhisperer
Code tends to be at odds with copyrightability: if what you writing is convoluted enough is convoluted enough to warrant copyright protection then very often it's convoluted enough to perform badly.
There are always some exceptions like 0x5f3759df: if you are using that then you maybe violating copyright, but if you use 0x5f375a86 (which is simply the best constant for that algorithm) then you are not violating.
But what if you want to compatible with some existing code? Quake, e.g.? Then you need 0x5f3759df to stay compatible!
Ultimately problems like that mean that for every line of code you need court decision… which is not practical, obviously.
