From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd398ca223dbbfd6 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: 'Size (novice question) Date: 2000/02/22 Message-ID: <88uugs$il8$1@nnrp1.deja.com>#1/1 X-Deja-AN: 588542718 References: <38ACA68D.CEA7E03F@interact.net.au> X-Http-Proxy: 1.0 x29.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Feb 22 21:19:30 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-02-22T00:00:00+00:00 List-Id: In article , "Vladimir Olensky" wrote: > As I understand efficient independent addressability means > that the X'Size should be multiple of storage_units. > It would be strange to hear that separate storage unit could > not be addressed efficiently. What you find strange depends on your knowledge :-) But in fact architectures that are byte addressable but do not allow efficient access to individual storage bytes are not uncommon. Examples are the AMD 29K, and most earlier models of the Digital Alpha chip. There are other examples. On the Alpha for example, GNAT will always allocate 32 bits to a stand alone Character or Boolean variable, in accordance with the implementation advice quoted. There is a switch for GNAT that tells it that you have a late model Alpha where this is not required. Sent via Deja.com http://www.deja.com/ Before you buy.