Deutsch   English   Français   Italiano  
<ve6gv4$2o2cj$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.arch
Subject: Re: 80286 protected mode
Date: Wed, 9 Oct 2024 18:10:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <ve6gv4$2o2cj$1@dont-email.me>
References: <2024Oct6.150415@mips.complang.tuwien.ac.at>
 <memo.20241006163428.19028W@jgd.cix.co.uk>
 <2024Oct7.093314@mips.complang.tuwien.ac.at>
 <7c8e5c75ce0f1e7c95ec3ae4bdbc9249@www.novabbs.org>
 <2024Oct8.092821@mips.complang.tuwien.ac.at> <ve5ek3$2jamt$1@dont-email.me>
Injection-Date: Wed, 09 Oct 2024 20:10:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2b5f2567bd16e3af5f2d43dfd51c65fc";
	logging-data="2886035"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/oCcOE6uRaelUtjPpEzNkWsyxyMfw55pM="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:CWJeUZdpIP+tPEEJLn61khmfW7I=
Bytes: 1666

David Brown <david.brown@hesbynett.no> schrieb:

> When would you ever /need/ to compare pointers to different objects? 
> For almost all C programmers, the answer is "never".

Sometimes, it is handy to encode certain conditions in pointers,
rather than having only a valid pointer or NULL.  A compiler,
for example, might want to store the fact that an error occurred
while parsing a subexpression as a special pointer constant.

Compilers often have the unfair advantage, though, that they can
rely on what application programmers cannot, their implementation
details.  (Some do not, such as f2c).