3 ms·
There's no SharedArrayBuffer support? Or I misunderstand the idea
by throwaway290 2y ago
There's no SharedArrayBuffer support? Or I misunderstand the idea
- flohofwoe 2y agoThere 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 https://github.com/WebAssembly/multi-memory