+ 17
Java vs C++ compile speeds
C++ is faster in runtime than Java ,cause C++ runs the machine code whereas Java needs to turn bytecode into machine code and then run it. What about compile time thu? Is compiling to bytecode faster than compiling to machine code?
11 Answers
+ 8
C++ 😍😍
+ 5
I found some links that may be of help :
courses.washington.edu/css342/zander/css332/arch.html
https://stackoverflow.com/questions/145110/c-performance-vs-java-c
https://softwareengineering.stackexchange.com/questions/159373/what-backs-up-the-claim-that-c-can-be-faster-than-a-jvm-or-clr-with-jit
+ 5
Use time library to see the time that it takes to print a number 1 to 10000 in C++ and java and you will see a lot of difference
+ 1
C++ is best.
c++:
Fast
Nice Engine
Better engine
java:
mid-speed
badder engine
slower engine
+ 1
H4CK3R😺😺C4t😺😺 Java enginee isnt bad
Java can be slower but he is very good to work with another things too...
0
c++ print faster,right? How much?
the question is about compile time exclusively
0
C++ has wery powerful template feature. Templates can cause hard and long computations in the compile time.
0
C++ is fast Than More
0
C++😍
- 2
с++ надо на учит
- 2
на русском языке на пишите