Regardless of whether the document is valid or not I did notice one part that I think could be a real issue and most people seem to have overlooked. In a couple places throughout the document there is mention that the respondents would view OSS unfavorably if there was a chance of lawsuits due to copyright or patent infringement. I have to wonder if this could be a real threat to the OSS community as time progresses. With the large number of patents and copyrights that companies such as Microsoft are turning out, it becomes increasingly difficult to develop something that does not already have a patent protecting it. With new technologies like.Net which are controlled by Microsoft and incorporated into Linux distributions, they may be able to "discourage" companies from migrating to Linux or OSS with the threat of lawsuits.
I did some some simple tests on this the other day out of pure curiosity. I don't expect the numbers to tell the whole picture by any means but it is enough for one to want to investigate further. I simply created a small console based app that checks to see if a number is a prime or not for 80000 numbers. I wrote the code in java, C# and C. Anyway, here are the results I found:
I don't believe anyone feels that the people taking the information are not guilty. Whats at issue here is the security the companies are using to prevent theft. If you leave your car alone, running out in a parking lot with the doors unlocked, someone will steal it. No one says the person doing it is not guilty, but it was also your fault for not providing good security.
Regardless of whether the document is valid or not I did notice one part that I think could be a real issue and most people seem to have overlooked. In a couple places throughout the document there is mention that the respondents would view OSS unfavorably if there was a chance of lawsuits due to copyright or patent infringement. I have to wonder if this could be a real threat to the OSS community as time progresses. With the large number of patents and copyrights that companies such as Microsoft are turning out, it becomes increasingly difficult to develop something that does not already have a patent protecting it. With new technologies like .Net which are controlled by Microsoft and incorporated into Linux distributions, they may be able to "discourage" companies from migrating to Linux or OSS with the threat of lawsuits.
-- Rubberman
I gave your code a try ( I used a slighly different approach originally) and came up with this numbers:
C:\Temp>java Prim
Count: 78500
Execution Time: 17134 ms
C:\Temp>prim.exe
78500 primes found
Time taken = 31004 ms
I'm using the IBM 1.3 jdk on a 1gig with 512 megs ram on w2k.
I did some some simple tests on this the other day out of pure curiosity. I don't expect the numbers to tell the whole picture by any means but it is enough for one to want to investigate further. I simply created a small console based app that checks to see if a number is a prime or not for 80000 numbers. I wrote the code in java, C# and C. Anyway, here are the results I found:
Java (IBM 1.3) 4496 ms
C 4716 ms
C# 8582 ms
I don't believe anyone feels that the people taking the information are not guilty. Whats at issue here is the security the companies are using to prevent theft. If you leave your car alone, running out in a parking lot with the doors unlocked, someone will steal it. No one says the person doing it is not guilty, but it was also your fault for not providing good security.