Deterministic enumeration

Aymeric Vitte vitteaymeric at gmail.com
Thu Apr 25 13:18:39 PDT 2013


I don't know what is a determinist way for enumeration and who is right 
(I would be more enclined to keep the chronological order of property 
settings but if the strawman says the contrary there must be a good 
reason), but not knowing about #164, I wrote one day : 
https://code.google.com/p/v8/issues/detail?id=2353

This was closed about 2s after I wrote it, but here what is not 
determinist at all is that the enumeration order can change depending on 
what you are doing.

Regards,

Le 25/04/2013 20:56, Brendan Eich a écrit :
> David Bruant wrote:
>> Hi,
>>
>> I've seen a bug report on Firefox [1] and was wondering whether 
>> deterministic property enumeration [2] was still on the table for ES6.
>
> My comment from that bug:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=865760#c5
>
> Ignoring the SpiderMonkey threshold, we do have 
> http://wiki.ecmascript.org/doku.php?id=strawman:enumeration. It was 
> not promoted to harmony:proposals status for ES6. It's a bit late to 
> jam in, but implementations along with that strawman should try to 
> converge. I doubt the threshold will find consensus.
>
> There's a long V8 issue on enumeration not using insertion order: 
> http://code.google.com/p/v8/issues/detail?id=164 I believe. Closed: 
> WorkingAsIntended, still drawing fire from developers.
>
> /be
>
>>
>> Thanks,
>>
>> David
>>
>> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=865760
>> [2] http://wiki.ecmascript.org/doku.php?id=strawman:enumeration
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-- 
jCore
Email :  avitte at jcore.fr
iAnonym : http://www.ianonym.com
node-Tor : https://www.github.com/Ayms/node-Tor
GitHub : https://www.github.com/Ayms
Web :    www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com



More information about the es-discuss mailing list