On 15/01/2011, at 17:57, Simon Pieters wrote: > On Fri, 14 Jan 2011 12:04:03 +0100, Jorge <jo...@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, s...@opera.com <s...@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.