Resembles machine code. Targets idealized machine.
Compiler -> Bytecode -> VM
Needed to run the bytecode Adds overhead Gives portability (write it in C)
1-byte, controls the kind of instruction
Bytecode interpreter for the clox language, following Crafting Interpreters book
Resembles machine code. Targets idealized machine.
Compiler -> Bytecode -> VM
Needed to run the bytecode Adds overhead Gives portability (write it in C)
1-byte, controls the kind of instruction
Bytecode interpreter for the clox language, following Crafting Interpreters book