On 11/01/2013 11:52 AM, David Bruant wrote:
> That requires weakrefs in some way, I'm afraid. I'm interested if
> other solutions can be proposed to achieve object-granularity
> communication across machines (I'm sure Mark Miller will be interested
> as well).
>

Good use case. What if you had a serializable but still not iterable
WeakMap? Or rather, a synchronizable WeakMap. The cross-vat (I'm
mentally translating this to "cross-runtime") references would be
registered in this map. The timing of synchronization updates would be a
little funky.

Honestly, I haven't thought this through at all.

> One use case of cross-vat communication is the remote debugger
> protocol implemented in Firefox/OS. I haven't taken the time to run
> over related bugs and follow its development (and probably won't for
> now, because it'd be a lot of work), but it'd be interesting to think
> of how a cross-vat protocol would have made its implementation
> easier/safer/less error-prone/less leak-prone.
> Anyone knows how leaky the remote debugger protocol is now?

CC'ing jimb

_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to