From: Robert A Duff <bobduff@TheWorld.com>
Subject: Re: Comparing Access Types
Date: Thu, 09 Nov 2017 17:38:39 -0500
Date: 2017-11-09T17:38:39-05:00 [thread overview]
Message-ID: <wccpo8rjcwg.fsf@TheWorld.com> (raw)
In-Reply-To: ou13tc$2de$1@gioia.aioe.org
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> No, in general case it cannot, in the spirit of the semantics that A < B
> if the physical machine address of A < B.
I agree with you that "<" makes little sense for access types.
Even in C, "<" on pointers is undefined unless they point
into the same array.
>...Actually even equality cannot
> be for segmented memory but it felt good enough.
?
"=" returns True if two access values designate the same object,
which is a well defined concept, and has nothing to do with
segmented memory. And it's easy to implement, whether memory
is segmented or not.
- Bob
next prev parent reply other threads:[~2017-11-09 22:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-09 5:37 Comparing Access Types Jere
2017-11-09 8:29 ` Simon Wright
2017-11-09 8:33 ` Dmitry A. Kazakov
2017-11-09 22:38 ` Robert A Duff [this message]
2017-11-10 8:35 ` Dmitry A. Kazakov
2017-11-10 15:11 ` Jere
2017-11-10 16:05 ` Robert A Duff
2017-11-10 16:30 ` Robert A Duff
2017-11-16 1:17 ` Randy Brukardt
2017-11-18 22:01 ` Robert A Duff
2017-11-20 22:25 ` Randy Brukardt
2017-11-21 0:30 ` Shark8
2017-11-21 8:57 ` Dmitry A. Kazakov
2017-11-22 1:01 ` Randy Brukardt
2017-11-10 15:20 ` Jere
2017-11-10 16:00 ` Robert A Duff
2017-11-10 16:22 ` Jere
2017-11-10 15:06 ` Jere
2017-11-16 1:21 ` Randy Brukardt
2017-11-16 1:13 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox