Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Weak references. Does node-weak and other simliar libraries, add significant overhead?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rick Waldron  
View profile  
 More options Oct 25 2012, 1:46 pm
From: Rick Waldron <waldron.r...@gmail.com>
Date: Thu, 25 Oct 2012 13:45:17 -0400
Local: Thurs, Oct 25 2012 1:45 pm
Subject: Re: [nodejs] Weak references. Does node-weak and other simliar libraries, add significant overhead?

Also, take a look at these...

http://wiki.ecmascript.org/doku.php?id=strawman:weak_references
http://wiki.ecmascript.org/doku.php?id=strawman:weak_refs

Perhaps there is something that can built on top of, or an aspect you can
prove/disprove?

Rick

On Thu, Oct 25, 2012 at 1:03 PM, Nathan Rajlich <nat...@tootallnate.net>wrote:

> Rick, is there a template for proposals I should base it off of?

> On Wed, Oct 24, 2012 at 12:38 PM, Rick Waldron <waldron.r...@gmail.com>
> wrote:
> > WeakRefs are on the table for ES6... if someone here wants to write up a
> > proposal (I'm looking at Nate) I will gladly champion it at the next TC39
> > meeting.

> > Rick

> > On Wed, Oct 24, 2012 at 2:55 PM, Bradley Meck <bradley.m...@gmail.com>
> > wrote:

> >> Take it to a different topic if it becomes unrelated also.

> >> On Wednesday, October 24, 2012 1:15:49 PM UTC-5, Marco Rogers wrote:

> >>> Can you elaborate on "domains just feel wrong". I'm interested in how
> the
> >>> domains api comes across. I've expressed my concerns with it in the
> past.

> >>> :Marco

> >>> On Wednesday, October 24, 2012 7:28:06 AM UTC-7, Fredrik O wrote:

> >>>> Thank you Rick, it was good to know.

> >>>> Just for curiosity, what do you people thought, to emulate RAII within
> >>>> JavaScript for those object which need some clean up? Am I doing it
> >>>> completely wrong? I mean, an exception can easily get thrown in
> JavaScript
> >>>> and try..catch cannot catch error within callbacks. And domains just
> feel
> >>>> wrong. For those who does not know what RAII is, it is an automatic
> way to
> >>>> invoke a destructor when the object get out of reach, by normal
> control flow
> >>>> or an exception get thrown. See wikipedia:
> >>>> http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization

> >>>> And Nathan (or if there is someone else which can do a serious guess),
> >>>> because you have not answered I assume it will be fine to use your
> library
> >>>> heavily. With heavily do I mean having around 10 000 concurrent weak
> objects
> >>>> alive. If you believe it would not be case, please let me know.

> >>>> Thanks in advance.

> >>>> Den tisdagen den 23:e oktober 2012 kl. 01:20:19 UTC+2 skrev Rick
> >>>> Waldron:

> >>>>> On Monday, October 22, 2012 at 5:22 PM, Fredrik O wrote:

> >>>>> PS. How would weak maps be used to call a custom function on garbage
> >>>>> collection?

> >>>>> I think you've misunderstood, WeakMaps don't facilitate this

> >>>>> Rick

> >>>>> What are your thoughts?

> >>>>> Thanks in advance!

> >>>>> --
> >>>>> 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 nod...@googlegroups.com
> >>>>> To unsubscribe from this group, send email to
> >>>>> nodejs+un...@googlegroups.com
> >>>>> 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 nodejs@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> nodejs+unsubscribe@googlegroups.com
> >> 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 nodejs@googlegroups.com
> > To unsubscribe from this group, send email to
> > nodejs+unsubscribe@googlegroups.com
> > 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 nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.