21 breaking releases
| 0.35.0 | Dec 14, 2025 |
|---|---|
| 0.22.0 | Dec 13, 2025 |
| 0.16.0 | Nov 26, 2025 |
#297 in Memory management
78 downloads per month
Used in 5 crates
790KB
19K
SLoC
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 fusabi_vm::{Vm, Value};
let mut vm = Vm::new();
// Register standard library
fusabi_vm::stdlib::register_stdlib(&mut vm);
// ... load chunk ...
// vm.execute(&chunk)?;
License
MIT
Dependencies
~0–17MB
~187K SLoC