ARCHIVED: What is byte code?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

Byte code is intermediate to machine language and human-readable source code. It is similar to architecture-specific code because it is prepared with a compiler, except that its instructions are not native to any particular chipset. Rather, byte code is designed to be processed by an interpreter, virtual machine, or a just-in-time compiler that performs the actual machine language instructions. Like source code, byte code is portable to any computer that has an environment for running it. However, it is more compact and, often, quicker to execute. The price for platform independence is that byte code programs typically run more slowly than native programs, even with a just-in-time compiler.

Environments that can run byte code programs include Emacs, Java, Visual Basic, and Smalltalk.

This is document ahdi in the Knowledge Base.
Last modified on 2023-09-22 17:11:34.