Mutable Proto

Brendan Eich brendan at
Thu Mar 21 14:13:12 PDT 2013

Brandon Benvie wrote:
> On 3/21/2013 1:57 PM, Brendan Eich wrote:
>> No 'with' required for SES AFAIK. Do you have a link? 
>> Cc'ing Mark in case he is not reading es-discuss frequently.

First, it doesn't matter: my point about SES being deployed in the real 
world stands, whether SES uses 'with' or not.

Second, a strict mode function scoped by 'with' may not be as 
deoptimized as you think in all engines.

Third, I am surprised but Mark will say more, I'm sure.

>> /be
>> Brandon Benvie wrote:
>>> On 3/21/2013 11:39 AM, Brendan Eich wrote:
>>>> Andrea Giammarchi wrote:
>>>>> yes, SES, the non real world out there, needs __proto__ ... 
>>>>> shenanigans all over the world because of '__proto__' ain't 
>>>>> important.
>>>> SES is deployed on major Google properties. I recall also Yahoo! 
>>>> but not sure if still up.
>>>> I think again you are out of line. Am I wrong?
>>> I don't agree with Andrea's sentiment, but this would still be 
>>> surprising to me. I would have thought that SES's use of `with` to 
>>> sandbox code (it does this right?) would destroy performance to the 
>>> point of being unusable in practice.
>>> _______________________________________________
>>> es-discuss mailing list
>>> es-discuss at
> If I understand correctly, this wrapper code is used for all code 
> executed in SES (but I may be wrong): 

More information about the es-discuss mailing list