Thank you! I was wrong, --harmony_collections is a runtime flag, and we can use harmony collection in node now. No need to replace the V8 engine.
than you and sorry to bother you guys. Regards, ty 2012/7/11 Arnout Kazemier <[email protected]> > harmony functionality (including weak map) is exposed when you start up > node with --harmony or more specifically --harmony_collections as flags > > On Wednesday, July 11, 2012 at 12:45 PM, Marak Squires wrote: > > Would https://github.com/TooTallNate/node-weak help at all? > > On Wed, Jul 11, 2012 at 3:44 AM, Yi Tan <[email protected]> wrote: > > Hi all, > > We need to use WeakMap ( > https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/WeakMap) > data structure in our node application. > > Currently the only way we've found to enable WeakMap is to replace the v8 > in node by a custom build v8 with --enable-weakmap switch on. > > But I'm afraid the replace of V8 engine might cause some issues that we > are not able to handle. > > Thus, is there any easy way to use weakmap in node? > > > Regards, > > ty > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
