[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: pointers
Masum, I totally agree with your discussion of (and distinction between)
reference and pointer.
NIM stands for "Network Information Model" and is being discussed on this
list in order to determine if a modeling work group should be formed in the
IETF, and if so, what its scope should be. There is no charter, at this
time. There is a requirements document at
draft-durham-nim-req-01.txt.
Andrea
-----Original Message-----
From: owner-nim@ops.ietf.org [mailto:owner-nim@ops.ietf.org]On Behalf Of
Masum Hasan
Sent: Sunday, August 13, 2000 1:01 AM
To: Andrea Westerinen
Cc: tscott@vedatel.com; case@snmp.com; nim@psg.com
Subject: Re: pointers
Andrea Westerinen wrote:
> I didn't see a reply to this, and wasn't in the terminal room. But ...
> "Pointers" do make sense in an "info model" since there is no
implementation
> to point to/from/with/... It is very reasonable and logical to "refer" to
a
> class or an instance. If this is a "pointer," then I agree but would
highly
> recommend the word, "reference," to avoid confusion.
>
> Andrea
>
> -----Original Message-----
> From: owner-nim@ops.ietf.org [mailto:owner-nim@ops.ietf.org]On Behalf Of
> Tom Scott
> Sent: Thursday, August 03, 2000 8:11 AM
> To: case@snmp.com
> Cc: nim@psg.com
> Subject: pointers
>
> Jeffrey,
>
> For the sake of those who didn't hear our conversation in the terminal
room
> this morning, please post to the list your clarifications on the use of
> pointers as basic data types.
>
> Specifically, you stated in the NIM BoF yesterday that there should be
three
> data types in the model: numbers, characters/strings and pointers. C
> programmers may read more into that statement than is justified.
>
> --Tom
> ---------------------------------------------------
> Tom Nelson Scott Vedatel Co
> 1411 Sheffield Dr. Bowling Green OH 43402
> "In IP We Trust" "E Pluribus Unix" "Java Rules"
> ---------------------------------------------------
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
My 2 cents worth ...re. pointer vs. reference...
A reference is not necessarily a pointer. A pointer is a low
level construct that points to an address space directly,
whereas a reference may not necessarily. In C++, for example,
a reference is a constant (immutable) pointer. Java has no
pointers, but primitive and reference types. In various OO
model a reference has been contrued as (a more abstract) OID.
A pointer, for example, is not transferable across process
(address space) boundaries, but a reference (OID) is, since it
is abstract.
In any case....
I came across this list on mpls@uunet mailing list.
What is the charter for NIM?
--Masum
--
--------------------------------------------------------------
Masum Z. Hasan, PhD masum@cisco.com 408 853 5926
http://www.cs.toronto.edu/~zmhasan/
---------------------------------------------------------------