3 ms·
Shu here. I'm the person drafting the memory model for the SharedArrayBuffer spec, and as Dave says, it'll be the basis for the wasm story as well. Lars Hansen
by syg 10y ago
Shu here. I'm the person drafting the memory model for the SharedArrayBuffer spec, and as Dave says, it'll be the basis for the wasm story as well.
Lars Hansen deserves most of the credit for the actual spec -- I'm just doing the memory model. :)
- johnbender 10y agoShu, The concurrency/memory model nerds out here would love to see an early draft if at all possible :) If nothing else, is it going to be weaker than sequential consistency?
- syg 10y agoThe current draft is available at http://tc39.github.io/ecmascript_sharedmem/shmem.html http://tc39.github.io/ecmascript_sharedmem/shmem.html The two strengths provided by the model are sequentially consistent atomics and something between the strengths of C++'s non-atomics and relaxed atomics. Races are fully defined, and there is no undefined behavior or undefined values. I'm happy to discuss things more in a new thread or in private communication and would prefer to not derail this thread about VLC.
- johnbender 10y agoThank you!