W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [whatwg] ArrayBuffer and ByteArray questions

From: Simon Pieters <simonp@opera.com>
Date: Wed, 08 Sep 2010 20:19:24 +0200
To: "Chris Marrin" <cmarrin@apple.com>
Cc: whatwg@lists.whatwg.org, "Web Applications Working Group WG" <public-webapps@w3.org>
Message-ID: <op.vip7umdiidj3kv@simon-pieterss-macbook.local>
On Wed, 08 Sep 2010 20:13:19 +0200, Chris Marrin <cmarrin@apple.com> wrote:

>>> ArrayBuffer certainly has momentum behind it. It started as a part of  
>>> the WebGL spec as a way of passing buffers of data of various types  
>>> (sometimes heterogeneous types) to the WebGL engine. Since then, it  
>>> has found uses in the Web Audio proposal, the File API and there has  
>>> been talk in using it as a way to pass data to Web Workers.
>> Do you mean WebSockets?
> 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.

Oh, as in posting to a worker with postMessage? Yeah that could be useful.  
A side-effect of speccing this would be that other stuff that use the  
structured clone algorithm would also support ArrayBuffer, e.g.  

Simon Pieters
Opera Software
Received on Wednesday, 8 September 2010 18:20:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:11 UTC