Symbols, Protocols, Frames, and Versioning

Brendan Eich brendan at mozilla.org
Wed Oct 3 17:56:20 PDT 2012


Allen Wirfs-Brock wrote:
> Presumably a similar technique could be used for user defined symbols 
> that need to be shared across frame but the needs to be a way to 
> communicate the actual shared symbol values to the module instance 
> associated with each realm. In the above referenced  message I suggest 
> that this may be a job for the module loader API, but I haven't tried 
> to work out the details.

I don't think we've had a proposal yet for singleton modules per set of 
connected realms. Possibly I missed it (something is tickling a memory 
but I can't find a ref). It could be good!

Using a custom loader is always an option, but heavyweight.

/be


More information about the es-discuss mailing list