J
James Kuyper
On Wed, 31 Jul 2013 19:30:50 +0200, Rosario1903
i not see the reasons for distinguish pointers from unsigned
[and all the concern they generate in portability of C programs]
in not consider the pointer just as one fixed size unsigned
for example something as:
p32u32 *p;
p is a pointer that can contain one 32 bit address [unsigned]
that point to one array of 32 bits unsigned
would resolve all problems i see of undefinitions
and portability of programs for pointer "point of view"
if people has need of 64 bit pointers to u32
somehting
p64u32 *p;
Simply because there are machines and implementations where pointers
are *not* simple integers.
That doesn't quite answer the question. Why are such machines designed
that way? I know that they do exist, and write my programs accordingly,
but I don't know enough about hardware design to answer that question. I
know that some systems support the illusion of a simple linear address
space, even when the underlying reality is far more complicated. I don't
know what the issues are that prevent other systems from doing the same
- do you?