Java Runtime Performance Vs Native C / C++ Code?

前端 未结 9 2283
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 14:10

I\'ve become more and more comfortable programming in Java than with C++ or C. I am hoping to get a sense of the performance hit incurred using a JVM interpreter, as oppose

9条回答
  •  时光说笑
    2020-12-12 14:32

    Important thing to note down is

    Java byte code JIT compiled to much more optimized code specific to particular hardware

    vs

    C code compiled and optimized to general hardware so it cannot take advantage of features provided by specific hardware

提交回复
热议问题