Java Programming
Definitions
The Difference Between
Polyester

What is the difference between machinecode and bytecode?

User Avatar
Wiki User
September 17, 2007 1:50PM

The whole notion of "virtual" has become rather stretched in recent years, but the traditional distinction was that machinecode executes directly on the hardware, whilst bytecode is executed by a software emulator of a fully specified mythical machine. Bytecode is important to the UCSD Pascal p-system, to Forth, to SmallTalk, and more recently to Java. Of course, one could certainly build hardware which properly executes any of those bytecodes, and some folks have done just that.