> We should probably avoid pressures for the build-ins to cover all possible
> use cases. In ES.next we will should have all the primitives necessary for JS
> programmers to define their own efficient collection objects, including
> various kinds of hash-tables. Hopefully some good libraries of such will get
> written.
>
> I take it you are simply reiterating the desire for a standard system
> provided high entropy object-identity hash that is guaranteed to correspond
> to === and is.
I’m curious: Is it likely that such libraries will get written by the
community? This domain does not seem to enjoy much interest. (I would
volunteer, but have neither the necessary expertise/experience nor the time.)
Can we profit from prior work? The following comes to mind:
- “User-extensible sequences in Common Lisp”, Christophe Rhodes
http://www.doc.gold.ac.uk/~mas01cr/papers/ilc2007/sequences-20070301.pdf
- Programming languages with collection APIs (among many others): Smalltalk,
Java
- Guava
http://code.google.com/p/guava-libraries/
--
Dr. Axel Rauschmayer
[email protected]
home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss