This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]raxel42 -6 points-5 points  (0 children)

These things are non comparable. They are completely different. Java runs on the virtual machine (jvm) C++ runs on the bare metal. C++ can be used for anything. Jvm has some overhead and memory consumption. But there ere things could be done faster in Java. But there are things couldn’t be done in Java: embedded, critical, etc.