Skip to content

Interoperability

The interoperability subsystems cover three different memory workflows: WasmGPU's built-in Rust/WebAssembly driver memory, caller-managed frame and heap arenas inside that memory, and typed access to foreign WebAssembly modules or Python-owned array data.

In This Section

  • Built-in driver memory views and shared-memory checks
  • Frame arena scratch allocation and epoch-based lifetime rules
  • Heap arena allocation for caller-managed Wasm staging buffers
  • External WebAssembly module memory access through WasmModule and WasmMemoryView
  • Python ndarray transfer helpers

Overview Video

The video below was AI-generated by Google NotebookLM based on the WasmGPU codebase and then double-checked by its developer.

Suggested Starting Points

External WebAssembly Factories

Use the sidebar for the complete interop API reference.