by matlin · 8y ago · 0 comments
Anyone have any insight on this?
However, if what this exposes is just an array of bytes, that's less useful as you have to cast your own object model on top of it. Large image data might be still useful as just bytes, with threads running convolutions or NNs on it.
I've used SharedArrayBuffers to port things like latex into the browser ( https://browsix.org ), and without it you can't use wasm or asm.js, you need to interpret C code in JavaScript to save/restore the stack on system calls.
I thought a big reason why we have WASM is so that that emphatically does not need to be a concern of JS.
It may not be an idea user primitive, but serves library makers well.