[TUHS] Array index history

Dave Horsfall dave at horsfall.org
Thu Jun 8 14:05:15 AEST 2017


On Wed, 7 Jun 2017, Robert Swierczek 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.

Weren't the Burroughs mainframes implemented in Algol, likely with a 
1-origin?  Of course, I could be wrong (it was quite a few years ago since 
I touched a B-1700)...

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."



More information about the TUHS mailing list