Here's what I've learned over 20 years of working with both C++ and Java (and more years before that with C++): As a rule of thumb, when you convert optimized C++ to Java, the code is about 3x slower.
Java ranked fourth in the December 2022 Tiobe index of programming language popularity, the lowest Java has ranked in the history of the index. C++ ranks higher than Java in the Tiobe language ...
This summer, Microsoft will release a beta of Minecraft: Education Edition written in C++ rather than Java, which looks like removing the performance problems associated with running the current ...