Originally Posted by
Zosden
Three words switch to c++. Java is slow because from what I
understand correct me if I'm wrong. All objects are allocated onto
the heap whereas c++ you can allocate onto the stack.
Heap or stack, it doesn't matter, if can be measured, it is negligible...
The difference between java and c++ is that, java is interpreted(2 process),
1st from the program to JVM, 2nd from JVM to Machine...
C++ compiled files are pure machine language... no interpretation required...
and directly executed....
To keep you updated, try to look at
this article....