[TUHS] Maximum Array Sizes in 16 bit C
Rich Salz
rich.salz at gmail.com
Thu Sep 19 23:13:11 AEST 2024
>
> if there need to be negative references in array accesses (which certainly
> makes sense to me, on its face), it seems reasonable to have whatever
> intermediate variable be signed.
>
In my first C programming job I saw the source to V7 grep which had a
"foo[-2]" construct. It was a moment of enlightenment and another bit of
K&R fell into place. (
https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/grep.c; search
for "[-")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20240919/1df47ab7/attachment.htm>
More information about the TUHS
mailing list