Re: [whatwg/encoding] Make decode() and encodeInto() accept SharedArrayBuffer-backed views (#172)

C++11/C11 atomic operations are not usable I believe - they assume race-free programs.  This also means they may be optimized in certain ways that runs counter to the JS/wasm memory model.  gcc is quite explicit about this in its documentation, saying that its __atomic intrinsics may not execute fences if gcc thinks they're not required.

(This is getting us into the weeds, probably better handled in email.)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/172#issuecomment-462409776

Received on Monday, 11 February 2019 17:09:25 UTC