New full Unicode for ES6 idea

Brendan Eich brendan at mozilla.com
Sun Feb 19 15:29:36 PST 2012


Mark S. Miller wrote:
> On Sun, Feb 19, 2012 at 1:52 PM, Brendan Eich <brendan at mozilla.com 
> <mailto:brendan at mozilla.com>> wrote:
> [...]
>
>         How? By doing a full walk of the object graph and doing
>         surgery on it? This sounds more painful than imposing
>         mediation up front.
>
>
>     No, by indirection, of course ;-). The details vary among browsers.
>
>
> I think just we're having a terminology problem. To me, such 
> indirection is mediation.

Definitely I was unclear. The (different) mediation by WindowProxy is 
good because local global (oxymoronic, ugh -- let's say "this global") 
accesses are unmediated and can be super-optimized.

The mediation by trust-label indirection I was referring to above is 
for-all-accesses. That is painful.

A compartment per global makes the process of finding the trust-label 
(called a "Principal" in Gecko) significantly faster.

/be


More information about the es-discuss mailing list