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

Download history 1/week @ 2026-04-11 3/week @ 2026-04-18 53/week @ 2026-04-25 21/week @ 2026-05-02

78 downloads per month
Used in 5 crates

MIT license

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 .fzb bytecode.

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