Weak References?

View: New views
3 Messages — Rating Filter:   Alert me  

Weak References?

by Jeff Watkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has there been any talk about adding Weak References to EcmaScript? If  
so, forgive me, because I missed it.

This would be a huge help for implementing client-side caching (and  
other things, I'm sure).



--
Jeff Watkins
http://metrocat.org


_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

Re: Weak References?

by Brendan Eich-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 31, 2009, at 1:18 PM, Jeff Watkins wrote:

> Has there been any talk about adding Weak References to EcmaScript?  
> If so, forgive me, because I missed it.

Yes, there has been. Searching site:wiki.ecmascript.org "weak  
reference" shows some hits. The current place to look is a stub:

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

Mark Miller is developing a proposal here, which I said yesterday at  
the TC39 meeting "sounds great!" Look for it to show up where the  
dangling

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

link points from the strawman page.

/be


>
> This would be a huge help for implementing client-side caching (and  
> other things, I'm sure).
>
>
>
> --
> Jeff Watkins
> http://metrocat.org
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss@...
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

Re: Weak References?

by Mark S. Miller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 31, 2009 at 1:49 PM, Brendan Eich <brendan@...> wrote:
On Jul 31, 2009, at 1:18 PM, Jeff Watkins wrote:

Has there been any talk about adding Weak References to EcmaScript? If so, forgive me, because I missed it.

Yes, there has been. Searching site:wiki.ecmascript.org "weak reference" shows some hits. The current place to look is a stub:

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

Mark Miller is developing a proposal here, which I said yesterday at the TC39 meeting "sounds great!" Look for it to show up where the dangling

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

link points from the strawman page.

Thanks for the kind words. A first draft proposal is now there. I hope it lives up to your expectations ;).

--
   Cheers,
   --MarkM

_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss