Yeah, Emscripten will gain SIMD and pthreads support with WebAssembly. There is no current implementation yet, but there is support for both when targeting asm.js.
WebAssembly pthreads support is designed to work both with SharedArrayBuffer and Atomics APIs, though the idea is that Wasm will have Atomics opcodes for the same operations instead of having to jump out to JS to perform these calls. We'll be sure to announce when Emscripten gains this support for WebAssembly. 2017-05-16 8:36 GMT+03:00 Soeren Balko <[email protected]>: > I looked around in the latest changes to the WebAssembly runtimes in the > V8 and Spidermonkey repositories and found hints of both SIMD and POSIX > threads support making their way into WebAssembly (post MVP). What is the > state of affairs w.r.t. supporting this in Emscripten? I assume that the > WebAssembly pthreads support will not need to rely on the > SharedArrayBuffer/Atomics JS APIs, but be natively supported within the > WebAssembly runtime (?). The same seems to be true for SIMD, probably not > based on SIMD.js (which seems to go nowhere anyway as it is held back by > both Edge and Firefox). > > Alon, any updates to shared to that end? > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
