Fusabi VM
The high-performance bytecode virtual machine for the Fusabi scripting engine.
Features
- Stack-based: Efficient execution model.
- Garbage Collection: Simple reference counting (Phase 1), moving to Mark-and-Sweep (Phase 4).
- Host Interop: Safe, re-entrant API for calling Rust from scripts and vice-versa.
- Serialization: Load pre-compiled
.fzbbytecode.
Usage
use ;
let mut vm = new;
// Register standard library
register_stdlib;
// ... load chunk ...
// vm.execute(&chunk)?;
License
MIT