Comments on Sept Meeting Notes
Mark S. Miller
erights at google.com
Fri Sep 27 09:06:34 PDT 2013
Yeah, those also don't work between machines. So at least we have a clean
conceptual split between use cases. My points apply to the case that wants
to work uniformly with the inter-machine case.
On Fri, Sep 27, 2013 at 8:57 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Fri, Sep 27, 2013 at 11:53 AM, Mark S. Miller <erights at google.com>
> > The structured cloning algorithm is the last thing I want to use to
> > communicate between workers. I advise avoiding it like the plague,
> > serializing to JSON, sending the string, and unserializing on the other
> > side. This also keeps the semantics of inter-worker communication aligned
> > with the semantics of distributed inter-machine messaging.
> "Just use JSON" doesn't work for a large number of use cases — e.g.
> when dealing with ArrayBuffer, File objects, or rendering contexts —
> structured cloning does.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss