[whatwg] WebWorkers and images

Simon Pieters simonp at opera.com
Sat Jan 15 08:57:59 PST 2011


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



More information about the whatwg mailing list