W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] WebWorkers and images

From: Jorge <jorge@jorgechamorro.com>
Date: Sun, 16 Jan 2011 23:58:59 +0100
Message-ID: <3AB4FE52-6704-4D1E-A6B5-0208AB92E827@jorgechamorro.com>
On 15/01/2011, at 17:57, Simon Pieters wrote:
> On Fri, 14 Jan 2011 12:04:03 +0100, Jorge <jorge at jorgechamorro.com> wrote:
> 
>>> Structured clone currently doesn't support Functions.
>> 
>> Good. And if I understand it correctly (*), it does make a shallow copy, ignoring the prototype chain, doesn't it ?
> 
> That's correct.
> 
>> (*)http://dev.w3.org/html5/spec/common-dom-interfaces.html#internal-structured-cloning-algorithm
>> 
>> Simon, what are your feelings about this proposed mechanism to pass-by-reference and make-unreachable ?
>> Do you think it's feasible, too ?
> 
> I asked our developer who implemented web workers:
> 
> On Fri, 14 Jan 2011 21:06:55 +0100, sof at opera.com <sof at opera.com> wrote:
> 
>> Implementing that scheme for Blob/ImageData today doesn't appear difficult, but as I'm sure some people have brought up in the recent m-l traffic on WWers (yet to go through that), there be downsides with that communication model once you consider multi process. But nothing too tricky (or with too much overhead.)
>> 
>> --sigbjorn
> 
> cheers,

Great, sounds good!

This needs a name, how about "Zero Copy IPC" ?
-- 
Jorge.
Received on Sunday, 16 January 2011 14:58:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC