News

As a rule of thumb, when you convert Java to C++, the code is about 3x slower ... and can bias the concurrency management approach based on runtime profiling information. Dynamic memory management ...
And C++ requires a large amount of source to be shipped in order to compile against it. Java defers platform-specific stuff to the runtime. There is no standard way to dynamically link to C++ classes.
It's a commonly asked question in a world where every software developer wants to get the most out of every clock cycle their programs consume. It was also a topic at a Java "Birds of a Feather" ...
using some C++ libraries. Later JVM releases added a JIT compiler to speed up the interpreter. The current Java compiler is written in Java, although the Java runtime is still written in C.