- From: Marijn Haverbeke <marijnh@gmail.com>
- Date: Thu, 13 Jan 2011 14:05:43 +0100
> To preserve shared-nothingness, the passed object (and the object's children) could be made unreachable (somehow, don't ask me) in the sending context as soon as passed to the worker. Perhaps other constraints might need to exist, e.g. perhaps no methods allowed in these objects. This is a hairy, deep, programming-language theory problem, and I'd say the chances of getting it right on top of JavaScript are slim. I think agressive optimization of the copying code is a more hopeful direction. After all, we're not dealing with huge chunks of data here. In an ideal case, memory-to-memory copy takes less than half a millisecond per megabyte.
Received on Thursday, 13 January 2011 05:05:43 UTC