Home > Software engineering >  Why vc2010 programs written as a Java program soon?
Why vc2010 programs written as a Java program soon?

Time:09-20

I wrote a gobang procedures, with vc write the same in Java program
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 good

CodePudding user response:

Code is the same, I copy and paste the code

CodePudding user response:

VC program is the DeBug version? Is there a release into the release version?

CodePudding user response:

The to zjq9931
Vc 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 faster

CodePudding user response:

The
refer to the original poster xzjxucxx response:
I wrote a gobang procedures, with vc written in Java
the same programJava program is faster than vc program many, why?
ha ha ha, first find out, say,

CodePudding user response:

references to the tenth floor cftxlin response:
personal feel normal, for example, using. Net write write file program's are much faster than other c + + written
the best VC is fast.

CodePudding user response:

The
refer to the original poster xzjxucxx response:
I wrote a gobang procedures, with vc written in Java
the same programJava program is faster than vc program many, why?

Git, you put the code, we have a look, just know is what reason,
  • Related