- From: Andreas Rossberg <rossberg@google.com>
- Date: Thu, 22 Jun 2017 09:27:56 +0200
- To: Wink Saville <wink@saville.com>
- Cc: JF Bastien <w3c@jfbastien.com>, public-webassembly@w3.org
- Message-ID: <CADjR9NqLpMGfpLxTb8jNpBhAca_zKFJt0Qymtpe85fhCwXHp0g@mail.gmail.com>
Threads in Wasm are not available yet in V8. These features are still in proposal stage. On 22 June 2017 at 04:38, Wink Saville <wink@saville.com> wrote: > It LGTM, I was hoping that Google has an implementation but AFAICT the > "shared" attribute for memory isn't implemented in V8 yet. But I'll ask > either on the V8 project or the threads repo > <https://github.com/WebAssembly/threads>. > > Txs > > On Wed, Jun 21, 2017 at 6:27 PM JF Bastien <w3c@jfbastien.com> wrote: > >> Hi Wink, >> >> This requires the threads proposal. Could you please look through the >> threads repo on GitHub to make sure it’ll do what you need, and if not open >> an issue there. It’s better to keep such things to github instead of the >> mailing list. >> >> Thanks, >> >> JF >> >> On Wed, Jun 21, 2017 at 6:24 PM Wink Saville <wink@saville.com> wrote: >> >>> Google announced that V8 version 6.0 >>> <https://v8project.blogspot.com/2017/06/v8-release-60.html> supports >>> SharedArrayBuffers and implies they can be used with WebAssembly: >>> >>> "SharedArrayBuffers also unlock the ability to port threaded >>> applications to the web via asm.js or WebAssembly." >>> >>> I've created a simple program to test importing and exporting a >>> WebAssembly.Memory object when instantiating a wasm module written in C. >>> I'm using Nodev9 which has V8 v6.1 and the program is working as intended. >>> >>> Next I'd like to try SharedArrayBuffers, but I've been unable to figure >>> out how to get the SAB into the wasm module. Can anyone give me some >>> guidance? >>> >>>
Received on Thursday, 22 June 2017 07:28:59 UTC