Copyright © Philip M. Parker, INSEAD. Terms of Use.

BYTECODE

Specialty Definition: Byte-code

(From Wikipedia, the free Encyclopedia)

Byte-code is a sort of intermediate code that is more abstract than machine code. It is often treated as a binary file containing an executable program much like an object module, which is a binary file containing a machine code produced by compilers.

Byte-code is called so because usually each op code is one-byte length but the length of instruction code varies. Each instruction has one byte operation code from 0 to 255 followed by parameters such as registers or memory address. This is a typical case, but the specification of bytecode largely varies in language.

As is in intermediate code, it is a form of output code used by programming language implementors to reduce dependence on specific hardware and ease interpretation.

Less commonly, bytecode is used as an intermediate code of a compiler. Some systems, called dynamic translators, or "just-in-time" (JIT) compilers, translate bytecode into machine language immediately prior to runtime to improve execution speed.

A byte-code program is normally interpreted by a byte-code interpreter (usually called virtual machine since it is like a computer machine). The advantage is portability, that is, the same binary code can be executed across different platforms or architectures. This is the same advantage as that of interpreted languages. However, because bytecode is usually less abstract, more compact, and more computer-centric than program code that is intended for human modification, the performance is usually better than mere interpretation. Because of its performance advantage, today many interpreted languages are actually compiled into bytecode once then executed by bytecode interpreter. Such languages include Perl and Python. Java code is typically transmitted as bytecode to a receiving machine, which then uses a JIT to translate the bytecode to machine code before execution. The current implementation of the Ruby programming language actually does not use bytecode, instead, it relies on tree-like structures, which resembles intermediate representation used in compilers.

Also of interest are p-Codes, which are just like byte codes, but may be physically larger than a single byte and may vary in size (much like Opcodes do). They work at very high levels, such as "print this string" and "clear the screen". Both BASIC and some versions of Pascal use p-Codes.

Examples

Top     

Crosswords: BYTECODE

Specialty definitions using "BYTECODE": Caml Light, CLISPLanguage for Communicating SystemsMoscow MLOaklispVSCM. (references)

Top     

Anagrams: BYTECODE

Scrabble® Enable2K-Verified Anagrams

Words within the letters "b-c-d-e-e-o-t-y"

-2 letters: obeyed.

-3 letters: coted, coyed, debye, decoy, toyed.

-4 letters: beet, bode, body, byte, cede, cete, code, coed, cote, debt, deco, deet, doby, dote, doty, eyed, obey, teed, toby, tody, toed, tyee.

-5 letters: bed, bee, bet, bey, bod, bot, boy, bye, cee, cob, cod, cot, coy, deb, dee, dey, doc, doe, dot, dye, eye, obe, ode.

 Words containing the letters "b-c-d-e-e-o-t-y"
 

+3 letters: benedictory.

 

+5 letters: basidiomycete, decarboxylate.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: BYTECODE


Hexadecimal (or equivalents, 770AD-1900s) (references)

42 59 54 45 43 4F 44 45

Leonardo da Vinci (1452-1519; backwards) (references)

American Sign Language (origins from 1620-1817 in Italy and, especially, France) (references)

=

Semaphore (1791, in France) (references)

Braille (1829, in France) (references)

Morse Code (1836) (references)

-...    -.--.    -    .    -.-.    ---    -..    .

Dancing Men (Sir Arthur Conan Doyle, 1903) (references)

Binary Code (1918-1938, probably earlier) (references)

01000010 01011001 01010100 01000101 01000011 01001111 01000100 01000101

HTML Code (1990) (references)

&#66 &#89 &#84 &#69 &#67 &#79 &#68 &#69

ISO 10646 (1991-1993) (references)

0042 0059 0054 0045 0043 004F 0044 0045

British Sign Language (Fingerspelling, BSL; 1992, British Deaf Association Dictionary of British Sign Language) (references)

Encryption (beginner's substitution cypher): (references)

3659543937493839

Top     



INDEX

1. Crosswords
2. Anagrams
3. Orthography
4. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.