On 15 Oct 2011 at 21:17, Dave McGuire wrote:
This is not a fault of C. ;) How would you
implement byte pointers
on a Cray 1 in some other language? ;)
Lots of early cross-compilers were implemented on all sorts of
hardware, starting with something similar to
INTEGER A(64)
READ(1,100) A
100 FORMAT(80A1)
where the first input record consisted of the character set of the
language to be compiled.
Leaving only one addressing granularity in the hardware simplifies
things a whole bunch and makes your programmers work for their bread.
Some very clever programming often results.
--Chuck