06-09-2014, 03:54 AM
From what I've heard. A generic C++ build using high level abstraction runs at similar speeds to java JITed code as the ability to optimise for specific machines is offset by optimisation times. However if you compile for the machine your running on C++ thrashes the Java because offline optimisation has so much more time to run. Also if you've identified hot paths C++ allows a lot more manual optimisations.