This commit is contained in:
Miloslav Ciz 2024-03-02 20:30:32 +01:00
parent 1a8e20cc73
commit 6132b2add1
18 changed files with 1731 additions and 1702 deletions

View file

@ -1,6 +1,8 @@
# Bytecode
TODO
Bytecode (BC, also *P-code*, "portable code") is a type of [binary](binary.md) format for executable programs usually intended to be [interpreted](interpreter.md) or to serve as an [intermediate representation](intermediate_representation.md) in [compilers](compiler.md) (i.e. meant to be translated to some other language); it is quite similar to [machine code](machine_code.md), however machine code is meant to be directly run by some physical [hardware](hardware.md) while bytecode is more of a [virtual](virtual.md), machine independent code preferring things like [portability](portability.md), speed of interpretation, retaining meta information or being easy to translate.
TODO: moar
## Example