(thing) by Mr2001 Mon Aug 21 2000 at 19:42:35

Any compiled instruction code that is intended for a virtual machine: Java is the most popular example, but even Perl can be compiled to bytecode. The name suggests that instructions are typically represented as a byte each, as opposed to regular machine code where instructions are usually several bytes long.

(idea) by ssd Wed Jul 18 2001 at 4:59:10
Emacs elisp (and most other lisp implementations) also use bytecode. Some interpreted versions of BASIC, such as Applesoft, tokenized the code into bytecode. The UCSD P-code was sort of an early bytecode system.

Note that while the instructions in bytecode may be just a byte, bytecode may also contain strings, integers, floats, etc., which will be stored in their binary, native formats for the language (which are most probably a word or longer).

Log in or register to write something here or to contact authors.

AltStyle によって変換されたページ (->オリジナル) /