4 ms·
> The usual arguments involving pointer arithmetic Yeah, I think this exactly why it is zero based. The index became a simple multiplier for sizeof(int).
by JKCalhoun 4y ago
> The usual arguments involving pointer arithmetic
Yeah, I think this exactly why it is zero based. The index became a simple multiplier for sizeof(int).
- hougaard 4y agoAn assembler spillover into C.
- JKCalhoun 4y agoWas C ever much more than a veneer on top of assembler? Don't get me wrong, it's why I like C.
- adwn 4y ago> Was C ever much more than a veneer on top of assembler? Maybe in the very early days, but that necessarily had to end as soon as compilers started doing non-trivial optimizations. Today, C is very far from being "portable assembly".