Java is slower then C++ because of all the overheads of running the code.
Those damnable overheads. Assembly language FTW!
Those damnable overheads. Assembly language FTW!