JIT vs Interpreters

前端 未结 7 1192
一生所求
一生所求 2021-01-29 21:03

I couldn\'t find the difference between JIT and Interpreters.

Jit is intermediary to Interpreters and Compilers. During runtime, it converts byte code to machine code (

7条回答
  •  清酒与你
    2021-01-29 21:31

    Interpreter: Interprets the bytecode if a method is called multiple times every time a new interpretation is required.

    JIT: when a code is called multiple time JIT converts the bytecode in native code and executes it

提交回复
热议问题