simple modules

ihab.awad at gmail.com ihab.awad at gmail.com
Mon Feb 1 23:49:31 PST 2010


On Mon, Feb 1, 2010 at 11:13 PM, David Herman <dherman at mozilla.com> wrote:
> ... (specifically: "contexts are the means by which access to platform resources are mediated" -- yes).
> Creating new contexts would make it possible to restrict what modules can be imported, so you could
> create "pure" execution contexts in which you could evaluate code that would not have access to
> anything with interesting authority.

As I noted before, contexts are fine and dandy, but creating one of
them is a Big Deal [TM]. This means that they will not be used to
devolve authority at fine grain. In fact, given the tarpit method of
creating a new context, and from a language usability perspective,
they arguably _cannot_ be used to devolve authority at fine grain.

> This would of course be host-dependent.

Not sure what you mean by that ... perhaps you mean "configurable by
the programmer"? If so yes, but we still disagree on the mechanisms.

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA


More information about the es-discuss mailing list