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

[whatwg] WebWorkers and images

From: Simon Pieters <simonp@opera.com>
Date: Sat, 15 Jan 2011 17:57:59 +0100
Message-ID: <op.vpcz2xzvidj3kv@dhcp-190.linkoping.osa>
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,
-- 
Simon Pieters
Opera Software
Received on Saturday, 15 January 2011 08:57:59 UTC

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