Separating a Hash type from Object

Brendan Eich brendan at
Tue May 29 13:29:53 PDT 2007

We're working on it. Goals and anti-goals are

* initialisation from any object, including an object initialiser
   * no guarantee that an otherwise unused initialiser will be  
optimized away
* key/value type parameterization, hashcode callback function  
* defaults to intrinsic::=== and intrinsic::hashcode for identity and  
* has/get/set/remove methods (no magic . or [] syntax), iteration  
protocol standard methods
* no weak reference support

No promises, but it's getting attention. I think the es4-discuss list  
has been invaluable on this matter, so I wanted to give an update  
quickly after last week's face-to-face meeting. Comments welcome.


On May 25, 2007, at 10:25 AM, P T Withington wrote:

> On 2007-05-24, at 02:36 EDT, Brendan Eich wrote:
>> Weak keys worries?
> I would rather have a built-in Dict without weakness than no Dict at
> all.
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at

More information about the Es4-discuss mailing list