Bytecode とは?
bytecode は、ソースコードより低レベルだが特定の CPU に縛られない中間命令セットで、コンパイラが virtual machine の実行用に出力します。virtual machine は bytecode を解釈するか、実行時にさらにコンパイルします。これにより、同じコンパイル済みプログラムを virtual machine が利用できるあらゆる場所で実行できます。
なぜ重要か
bytecode は、プラットフォーム間の可搬性とコンパイラにとって安定したターゲットを提供し、最終的な実行は virtual machine に委ねます。多くのマネージド言語の配布フォーマットです。
関連ガイド
What Is a Stack Machine?A stack machine is a virtual machine whose instructions operate on an operand stack, pushing and popping valu…
What Is Just-in-Time Compilation?Just-in-time compilation translates code to native machine instructions at runtime, often focusing effort on…
What Is a Tracing JIT?A tracing JIT records the actual sequence of operations executed on a hot path and compiles that linear trace…