Java program is faster than vc program many, why?
CodePudding user response:
MFC library?Algorithm is the same code?
CodePudding user response:
Probably because you is a problem with the game algorithm is better than his goodCodePudding user response:
Code is the same, I copy and paste the codeCodePudding user response:
VC program is the DeBug version? Is there a release into the release version?CodePudding user response:
The to zjq9931Vc I am not debugging, directly generated exe
I don't know as well as the Debug version and release version
How to generate the release version???
CodePudding user response:
The release version's not much faster,Originally suspected Java is 64 - bit, compile vc is a 64 - bit version release or fast as Java
CodePudding user response:
I don't know you say "fast", "slow" refers to what/On the present computer, for general application, Java and c + + does not see how fast speed.
Just reflected in some specific applications.
CodePudding user response:
Gobang the algorithm is simple to twenty years ago the DOS computer can run very fast game, incredibly fast in the thousands of times, have bigger memory tens of thousands of times on the modern computer can make the performance difference in different languages,Make out the performance difference is not, in a more close to the hardware language can also slower than far from hardware language do,
The problem is not the language, is between a computer and a chair,
CodePudding user response:
CodePudding user response:
Personal feel normal, for example, use. Write files of.net programs than in the same c + + written much fasterCodePudding user response:
The