On Fri, Sep 27, 2013 at 11:53 AM, Mark S. Miller <[email protected]> wrote: > The structured cloning algorithm is the last thing I want to use to > communicate between workers. I advise avoiding it like the plague, instead > 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. -- http://annevankesteren.nl/ _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

