Skip to main content

Module hyperlight_backend

Module hyperlight_backend 

Source
Expand description

Hyperlight WebAssembly backend for sub-millisecond sandbox execution.

This backend uses Microsoft’s Hyperlight to run WebAssembly modules in hypervisor-isolated micro VMs with ~1-2ms startup times.

Requirements:

  • Linux with KVM (/dev/kvm accessible)
  • Feature flag: --features hyperlight

Platform support:

  • Linux (KVM): ✅ Supported
  • Windows (WHP): ✅ Supported (not yet implemented here)
  • macOS: ❌ Not supported (use Apple Containers backend)

Structs§

HyperlightPool
Stub pool implementation
HyperlightPoolConfig
Stub pool configuration
HyperlightPoolStats
Stub pool statistics
HyperlightSandbox
Stub implementation for non-Linux or non-hyperlight builds

Functions§

hyperlight_available
Check if Hyperlight is available on this system