Re:Wasmtime 1.0
by amelius on Tuesday September 20, 2022 @07:15PM
(#32919033)
Except Java has support for shared memory between threads, whereas WASM is single-threaded with message passing. Don't expect e.g. to implement a high-performance multi-threaded database in WASM anytime soon.
[ Parent
| on HN ]
That's incorrect. WASM supports the exact same multi-threaded/shared-memory/atomic-operations model as the JVM: https://github.com/WebAssembly/threads
Re:Wasmtime 1.0
by kettlecorn on Wednesday September 21, 2022 @01:46AM
(#32921215)
WASM supports shared memory: https://docs.wasmtime.dev/api/wasmtime/struct.SharedMemory.h...
It works on web too.