Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown Newsgroups: comp.arch Subject: Re: 80286 protected mode Date: Wed, 9 Oct 2024 22:22:16 +0200 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: <2024Oct6.150415@mips.complang.tuwien.ac.at> <2024Oct7.093314@mips.complang.tuwien.ac.at> <7c8e5c75ce0f1e7c95ec3ae4bdbc9249@www.novabbs.org> <2024Oct8.092821@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 09 Oct 2024 22:22:16 +0200 (CEST) Injection-Info: dont-email.me; posting-host="c59c8551724a5b731722e5c93a0179e0"; logging-data="2927107"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ih5Dn9Mpbd7JE4w2iDxujS113Celr/nA=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:HoGlMrcMvOHpX9EUSsYe84P2riE= In-Reply-To: Content-Language: en-GB Bytes: 2157 On 09/10/2024 20:10, Thomas Koenig wrote: > David Brown 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). Standard library authors have the same superpowers, so that they can implement an efficient memmove() even though a pure standard C programmer cannot (other than by simply calling the standard library memmove() function!).