Introduction to OOP
Chapter 27: Implementation :
next
previous
audio
real
text
Bytecode Interpreters
An implementation technique that is widely used (Smalltalk, Java, C#, Python)
Program is compiled into an ``assembly language'' for an imaginary machine.
Since this assembly code is often represented by a string of bytes, it is called bytecode.
Since the machine is imaginary, can run on any platform.
But it must be simulated (by a virtual machine) and hence you pay an execution time cost.
Intro OOP,
Chapter 27
, Slide 21