daveb@geac.UUCP (David Collier-Brown) (03/03/88)
In article <4400@aw.sei.cmu.edu> firth@bd.sei.cmu.edu.UUCP (Robert Firth) writes: [discussion about array representation, and the hardware support appropriate to multiplicative addressing] >However, my reading of ANSI X3.9-1978, especially Section 5, on arrays, >leads me to conclude that array representation in column-major form, >and array access by chain multiplication-&-addition of subscripts, is >the only feasible implementation choice. My reading of the ANSI proposal leads me to the same conclusion. This is both good (it eliminates an ambiguity) and bad (it removes the freedom of an compiler-writer to do what is best applicable to her architecture). Could someone who is more of a language-lawyer comment on this interpretation? Was it in fact the intention of the committee? --dave (redirected to comp.lang.c) c-b -- David Collier-Brown. {mnetor yunexus utgpu}!geac!daveb Geac Computers International Inc., | Computer Science loses its 350 Steelcase Road,Markham, Ontario, | memory (if not its mind) CANADA, L3R 1B3 (416) 475-0525 x3279 | every 6 months.