Just-in-time (JIT) compilation is a hybrid approach that combines features of both compilation and interpretation. Instead of compiling code ahead-of-time (AOT), a JIT compiler translates bytecode into native machine code at runtime, just before it is executed. This allows for dynamic optimizations based on actual runtime behavior, often improving performance over pure interpretation.
