Re: My apology for too succint previous message (mailers...)
James Cownie (jcownie@bbn.comjcownie@bbn.com)
Mon, 13 Nov 1995 17:08:53 +0000
Lloyd writes :-
> The proposal is specific to "system level" languages (C), in that it assumes
> that record fields are layed out in memory in ascending order. Higher level
> languages (Ada, Pascal), to not provide such guarantees (for the good reason
> that the compiler should be allowed to remove unneccessary alignment holes). I
> would not like to have to predict the reordering rules used in my Ada
> compilers.
The same is true in F90. An F90 system is certainly allowed to
implement an array of structures as a structure of arrays, and might
well choose to do so if vectorisation is important... (not that I've
actually seen this happen :-)).
-- Jim
James Cownie
BBN UK Ltd
Phone : +44 117 9071438
E-Mail: jcownie@bbn.com