📜  jit 编译器与 aot 编译器 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:01.278000             🧑  作者: Mango

代码示例1
Ahead-Of-Time(AOT) converts high level language like C. C++ or
intermediate bytecode of a language into a pre-packed and 
compiled file DURING YOUR BUILD TIME.
So no need to wait for compilation at runtime.

Just-In-Time(JIT) compiles intermediate code into machine code
during runtime as needed, then stores currently compiled code
in a cache to reuse as needed while standing by for new calls
to compile until execution is complete. Saves memory.