[TUHS] Array index history
peter at rulingia.com
Thu Jun 8 16:19:51 AEST 2017
On 2017-Jun-07 22:45:08 -0400, Robert Swierczek <rmswierczek at gmail.com> wrote:
>Keep in mind that C was/is primarily a language to write OS's and
>other system level software. Hardware such as memory addresses, page
>tables, disk sectors, etc. are all indexed from zero for very good
>reasons. I would shudder to contemplate an implementation of the Unix
>V6 kernel in a hypothetical C-with-one-based-arrays language.
1) CHS numbers sectors starting from 1, not 0.
2) Pr1meOS was written in Fortran.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: not available
More information about the TUHS