+ 3
Why I have to compile or build c++ programs before I can run them?
I just wondered what's the magic behind the c++ compiler and why I don't have to compile for example java?
2 ответов
+ 6
Java is also compiled, but it's compiled to byte code instead of native machine code at compile time. At runtime the JVM will use its JIT compiler to compile the byte code to native machine code if applicable.