What are the differences between a Just-in-Time-Compiler and an Interpreter?

后端 未结 8 1795
既然无缘
既然无缘 2020-12-12 17:12

What are the differences between a Just-in-Time-Compiler and an Interpreter, and are there differences between the .NET and the Java JIT compiler?

8条回答
  •  [愿得一人]
    2020-12-12 17:40

    tl;dr

    Interpreter: takes only one instruction at a time for execution

    Just-in-time: takes a block of code at once and compile it before execute. so has plenty room for optimization

提交回复
热议问题