Relative Content

Tag Archive for javac#

Why Java outperforms C++

Two nested loops, each for 100000 times, in Java and C++. Have observed, with consistency, that Java outperforms C++. C++ took 3.26 s, whereas Java took 0.019 s. Can this be explained?