0
Java vs c++ which offers better performance?
inform performance in multiple aspects if required.benchmarks would be awesome. thank you for help.
4 Réponses
+ 4
In my opinion C++, It's a little bit faster than Java :)
But again... It depends on how developer writes code
+ 2
Java
+ 2
C++
Mainly because it is compiled while Java uses a bytecode.
Also C++ has dynamic memory, allowing you to increase performance where necessary.
EDIT
Who downvotes this? There is no opinion in it at all, it is 100% true and makes C++ objectively faster than Java.
+ 1
It's C++ with its good compilers, custom memory models and access to the hardware. However, the Java performance is enough in most cases.
I worked with both languages, so I should know that.