#Can I share memory between front and backend via using mmap?
5 messages · Page 1 of 1 (latest)
No, you can't directly interact with mmap in JavaScript; it doesn't have that level of access, which is why Rust is used to compensate with Tauri's invoke which sends the data as JSON to the front-end.
WASM is still fairly new to me but I don't believe you can use it to access memory addresses outside of it's sandbox allocated zone.
My data size is so large that it need too much time when serialize and trans. Is there any way to solve that?
Did you read my answer to your wry issue? https://github.com/tauri-apps/wry/issues/1035