0

Java vs c++ which offers better performance?

inform performance in multiple aspects if required.benchmarks would be awesome. thank you for help.

26th Jan 2018, 5:20 AM
unknown
unknown - avatar
4 Respostas
+ 4
In my opinion C++, It's a little bit faster than Java :) But again... It depends on how developer writes code
26th Jan 2018, 5:45 AM
Paweł Karaś
Paweł Karaś - avatar
+ 2
Java
26th Jan 2018, 5:59 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
+ 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.
26th Jan 2018, 11:17 AM
Jacob Pembleton
Jacob Pembleton - avatar
+ 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.
26th Jan 2018, 6:03 AM
Timon Paßlick