Memory Models

Fred Smith fredex at cg-atla.UUCP
Fri Aug 25 00:10:49 AEST 1989


In article <664 at philmtl.philips.ca> ray at philmtl.philips.ca (Raymond Dunn) writes:
>In article <319 at hitech.ht.oz> clyde at hitech.ht.oz (Clyde Smith-Stubbs) writes:
. . .
>Hey, it's easy.  If you don't want to bother yourself with memory models,
>then always use the large or huge models and forget about it.



Well, even then it ain't transparent!  You will still get bitten by
the stupid segmented architecture, because there are, even in large
or huge model, restrictions on either the size of an array, or on
the size and/or alignment of the elements of that array!

See?  Even in Large/Huge model There Ain't No Free Lunch!


Fred



More information about the Comp.lang.c mailing list