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] 
> (mailto:[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] 
> > (mailto:[email protected])
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:nodejs%[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] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[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

Reply via email to