On Sep 28, 2014, at 12:05 PM, Mouse <mouse at rodents-montreal.org> wrote:
>> y.
I'm not sure even that is enough;
the assumption of everything being made up of
bits is wired very deeply
into modern C - and to a nontrivial extent into even K&R C.
I dunno, as I recall K&R C was - and is - just as bit oriented as current gcc. Bitwise
operators, shifts and rotates, auto increment and decrement...
So, what bits -:) of modern C are more wired into the language?
But it
might be possible. It certainly would be possible by building an
emulator for a binary machine, but that's a very not-in-the-spirit-of-C
thing to do - it would feel more C-like to throw out the binary
requirements in C's spec and implement a not-quite-C that actually
matched the hardware.
The attempt would certainly be a fascinating exercise.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B