Expand description
A single execution unit in the rune virtual machine.
A unit consists of a sequence of instructions, and lookaside tables for metadata like function locations.
Structs§
- Array
Unit - Unit stored as array of instructions.
- Byte
Code Unit byte-code - Unit stored as byte code, which is a more compact representation than
ArrayUnit, but takes more time to execute since it needs to be decoded as it’s being executed. - Logic
- Instructions from a single source file.
- Unit
- Instructions and debug info from a single compilation.
Traits§
- Unit
Encoder - Builder trait for unit storage.
- Unit
Storage - Instruction storage used by a
Unit.
Type Aliases§
- Default
Storage Non- rune_byte_code - Default storage implementation to use.