3 ms·
Can this share memory with the host? wasm3 doesn't allow this[1] and requires you to allocate VM memory and pass it to the host, but that has several downsides
by cornstalks 4y ago
Can this share memory with the host? wasm3 doesn't allow this[1] and requires you to allocate VM memory and pass it to the host, but that has several downsides (some buffers come from external sources so this requires a memcpy; the VM memory location isn't stable so you can't store a pointer to it on the host; etc.).
I'm really interested in a fast interpreter-only Wasm VM that can allow the host to share some of its memory with the VM.
[1]: https://github.com/wasm3/wasm3/issues/114 https://github.com/wasm3/wasm3/issues/114