Subject: Re: Harmony - proxies | asynchronous

Jorge jorge at jorgechamorro.com
Sat Sep 3 04:27:52 PDT 2011


On 03/09/2011, at 02:12, Brendan Eich wrote:
> On Sep 2, 2011, at 3:01 PM, Bradley Meck wrote:
> 
>> Even worse, libraries must support this, similar to
>> how a few libraries that break when a script in strict mode invokes
>> them but unlike frowned upon features,
> 
> Strict mode is a static property of code. Strict callers cannot affect behavior of non-strict callees. So I'm not sure what you mean here. Can you give an example?
> 
> 
>> we are talking about every
>> feature that a proxy has would have to be guarded for this.
> 
> In the browser, DOM and host object precedent means we crossed this bridge a long time ago.
> 
> IINM, Node has built-in objects that can do magical host-object-like things too. Has it therefore crossed the same bridge too? That is, couldn't such Node host objects be passed to library code that cannot assume plain-old-native-object non-magical semantics?

Yes, buffers are live too. buffer[i] === buffer[i] may be false sometimes.
-- 
Jorge.


More information about the es-discuss mailing list