Re: SharedArrayBuffers with wasm?

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 01:28:15 UTC