Subject: Re: 64bit issues
To: None <port-alpha@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: port-alpha
Date: 12/18/1999 20:06:00
In message <Pine.LNX.3.96.991218184915.31617A-100000@guild.net>, Lord Isildur w
rites:
>heresy!!??! it's heresy to speak of pointers which _cant_ be manipulated
>as integers!! ;-) 

Heh.

>a pointer is an lvalue that has to be manipulated as an integer inside the
>processor anyhow! leave the hig-level stuff for people who like high-level
>languages! 

C is sometimes a high level language.

>(no im not trying to start a flamewar, im just being an extremist for the
>sake of argument, but i _do_ cherish and take advantage of interchangable
>inetgers and pointers.. :) 

It's a cool toy, but it's not always a reasonable assumption; you can make a
*VERY* nice environment for writing bulletproof code if you make sure that
every "pointer" contains a substantial amount of additional data about what
it points to.

Now, no one is likely to build a CPU that way, but it's a viable compiler
setting.


-s