Module isolation

Brendan Eich brendan at mozilla.com
Mon Jan 18 09:00:24 PST 2010


On Jan 18, 2010, at 8:51 AM, Mark S. Miller wrote:

> Tobie et al. may want to, but I know many *users* of Prototype who  
> do not. We're talking about a large number of actual uses, some of  
> which might want to migrate into a module, not necessarily be used  
> cross-module. The cost of doing so is low if primordials in that  
> module can be mutated. It goes way up if they can't.
>
> Huh? I don't understand this. If they wish to be in the same mutated- 
> primordial-sandbox as Prototype, as you indicate and seems likely,  
> then it would not help them if Prototype were packaged as a module

No, I wrote "migrate into a module" meaning be part of the inside of a  
module -- not be packaged as a module.

/be

> and modules were the unit of primordial-mutation-sandboxing. Why  
> should they not just load the existing Prototype into their frame  
> the old fashioned way?
>
> Or, yes, they could do the Valija thing, in order to multiplex a  
> frame among multiple sandboxes. But a Valija sandbox is not a  
> module. I think we're confusing levels.
>
> /be
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
>
>
> -- 
>    Cheers,
>    --MarkM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100118/a986847e/attachment.html>


More information about the es-discuss mailing list