0
whether c++ is faster than java?
3 odpowiedzi
+ 1
Yes c++ programs run efficiently and faster than java programs. The reason is that java programs run on a virtual machine. But c++ programs directly executed by the os
0
of course c++ is faster than java.
0
Java has significantly more overhead, and performs tasks for you such as garbage collection. It varies but the number i see thrown around a lot is C++ being 20 times faster. Not as big of an issue today with most CPUs sitting idle a lot.