#Can I share memory between front and backend via using mmap?

5 messages · Page 1 of 1 (latest)

warm beacon
#

My app need trans render data from backend to front, Can I share memory between front and backend via using mmap? how?

gentle skiff
#

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.

warm beacon
civic dagger