Related articles |
---|
Promoting weak pointers m.helvensteijn@gmail.com (Michiel Helvensteijn) (2009-06-11) |
Re: Promoting weak pointers fset.slb@gmail.com (Scott Burson) (2009-06-15) |
Re: Promoting weak pointers andrew@tomazos.com (Andrew Tomazos) (2009-06-16) |
Re: Promoting weak pointers m.helvensteijn@gmail.com (Michiel Helvensteijn) (2009-06-16) |
Re: Promoting weak pointers m.helvensteijn@gmail.com (Michiel Helvensteijn) (2009-06-16) |
Re: Promoting weak pointers m.helvensteijn@gmail.com (Michiel Helvensteijn) (2009-06-17) |
Re: Promoting weak pointers bobduff@shell01.TheWorld.com (Robert A Duff) (2009-06-17) |
Re: Promoting weak pointers andrew@tomazos.com (Andrew Tomazos) (2009-06-18) |
Re: Promoting weak pointers armelasselin@hotmail.com (Armel) (2009-06-19) |
Re: Promoting weak pointers dot@dotat.at (Tony Finch) (2009-06-19) |
From: | Michiel Helvensteijn <m.helvensteijn@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Tue, 16 Jun 2009 04:39:12 -0700 (PDT) |
Organization: | Compilers Central |
References: | 09-06-047 09-06-053 |
Keywords: | linker |
Posted-Date: | 17 Jun 2009 03:35:51 EDT |
On Jun 15, 8:20 pm, Scott Burson <fset....@gmail.com> wrote:
> I wasn't in on the previous discussion, but if I had been, I would
> have said this:
>
> The term "weak pointer" is a misnomer. Weakness is not a property of
> pointers, but rather of locations that hold pointers. It really would
> be better to say "weak location".
>
> So you don't "promote a weak pointer to a strong pointer"; you read
> the contents of a weak location, which can contain either a pointer or
> null.
I'm not sure I understand what you mean. Do you mean conceptually, or
are you talking about an implementation of strong/weak pointers? Note
that I am *not* talking about pointers from the C(++) language, with a
strong/weak wrapper. I'm talking about pointers in a new language we
are designing. In this language, the pointers *are* either strong or
weak.
If you were speaking conceptually (meaning it is relevant for us), I
would like for you to clarify.
Thanks!
Return to the
comp.compilers page.
Search the
comp.compilers archives again.