flohofwoe 4 hours ago

There is, but then you'd need to declare the entire WASM heap as a single SharedArrayBuffer. It only makes sense for shared-memory multithreading (but not that support for SharedArrayBuffer only works in 'cross-origin isolated' contexts).

There is a related 'multiple memories' proposal btw: https://github.com/WebAssembly/multi-memory