Linked by Thom Holwerda on Fri 13th Aug 2010 01:32 UTC, submitted by JeremyPoulson

Thread beginning with comment 436546
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
wrong! there are a patents on specific code sequences
like this branchless abs
int const mask = v >> sizeof(int) * CHAR_BIT - 1;
r = (v ^ mask) - mask;
the code is of course dumb simple and used everywhere
this patent belongs to Sun BTW
I wish the whole chain of persons who are responsible of patenting such basic things be burned in hell forever.
I just don't get that kind of stuff.
If I come up with some way of doing something more efficiently in our code, I immediately share it with my co-workers. If it is non-work-related code that I am working on (maybe not efficient but for fun) I even share it on places like DeviantArt.
Member since:
2005-07-06
You do not patent a 'code', maybe mechanisms. But i guess there are always workarounds for that.