Comment by throwaway290 Comment by throwaway290 6 hours ago 1 reply Copy Link View on Hacker News There's no SharedArrayBuffer support? Or I misunderstand the idea
Copy Link flohofwoe 4 hours ago Collapse Comment - 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 Reply View | 0 replies
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