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 with deterministic backing-block release
- External WebAssembly module memory access through
WasmModuleandWasmMemoryView - Borrowed
WasmMemoryViewupload sources for geometry and scientific objects - Python ndarray transfer helpers with guarded, idempotent heap-handle release
Overview Video¶
The video below was AI-generated by Google NotebookLM based on the WasmGPU codebase and was double-checked by the developer.
Suggested Starting Points¶
Use the sidebar for the complete interop API reference.