MimoBox Wasm Backend
Wasm sandbox backend for mimobox, powered by Wasmtime and the Cranelift JIT.
Repository: https://github.com/showkw/mimobox
Architecture
mimobox-wasm implements mimobox_core::Sandbox for WebAssembly workloads and is used through mimobox-sdk when callers select Wasm or when the SDK auto-routes .wasm, .wat, and .wast inputs.
It uses a shared Wasmtime engine, WASI Preview 1, per-run stores, resource limits, stdout/stderr capture, fuel plus epoch interruption, and a SHA256 module cache.
Features
- Wasmtime runtime with Cranelift JIT compilation.
- WASI Preview 1 capability surface.
- SHA256 content-addressed module cache.
- Cold start P50: 1.01ms.
- Feature gate:
wasmfor downstream backend selection.
Quick Example
Direct backend usage:
use ;
use WasmSandbox;
Via mimobox-sdk:
use ;
License
MIT OR Apache-2.0