[Beowulf] Stroustrup regarding multicore

Perry E. Metzger perry at piermont.com
Tue Aug 26 17:42:38 EDT 2008


Tim Cutts <tjrc at sanger.ac.uk> writes:
>> There is other text that similarly requires that array members be
>> allocated consecutively. I'll dig it out as many examples as people
>> insist on.
>
> That would be interesting, because C99 is a pretty recent document,
> really, in C terms.  Were they, in drafting the C99 document, setting
> into stone what was de facto for most compilers?  Or is that
> requirement in an older standard?

Arrays have ALWAYS been consecutively allocated. The language would
break otherwise. I'm just quoting chapter-and-verse and posting sample
code to nail it into the ground, but this is nothing new.

Perry
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list