[whatwg] ArrayBuffer and ByteArray questions
    Chris Marrin 
    cmarrin at apple.com
       
    Wed Sep  8 11:37:49 PDT 2010
    
    
  
On Sep 8, 2010, at 11:21 AM, Oliver Hunt wrote:
> 
> On Sep 8, 2010, at 11:13 AM, Chris Marrin wrote:
> 
>> Web Sockets is certainly another candidate, but I meant Web Workers. There have been informal discussions on using ArrayBuffers as a way to safely share binary data between threads. I don't believe anything has been formalized here.
> 
> You can't share data between workers.  There is no (and there cannot be) any shared state between multiple threads of JS execution.
Right. I didn't mean literal sharing. But you can imagine some copy-on-write semantics which would make it more efficient to pass data this way.
-----
~Chris
cmarrin at apple.com
    
    
More information about the whatwg
mailing list