JIT vs Interpreters

前端 未结 7 1333
一生所求
一生所求 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:29

    • Interpreter: Reads your source code or some intermediate representation (bytecode) of it, and executes it directly.

    • JIT compiler: Reads your source code, or more typically some intermediate representation (bytecode) of it, compiles that on the fly and executes native code.

提交回复
热议问题