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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,128f9cb06cca4d85 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-29 22:40:04 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Very Large Arrays (VLAs) Date: Tue, 30 Jan 2001 06:29:05 GMT Organization: Deja.com Message-ID: <955mvd$ca5$1@nnrp1.deja.com> References: <3A7582BD.D51615EB@earthlink.net> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Tue Jan 30 06:29:05 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x52.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:4686 Date: 2001-01-30T06:29:05+00:00 List-Id: In article <3A7582BD.D51615EB@earthlink.net>, "Marc A. Criley" wrote: > While it's certainly possible to declare very large constrained arrays, > where "very large" means an Index_Type'Range equaling or exceeding > Positive'Range, has anyone ever actually declared and used such an array > in production code? Well by used you mean allocated here (certainly such types are commonly used, see for example the GNAT.Table abstraction in GNAT). To allocate them is just a matter of available virtual memory. Clearly if you declare type x is array (Natural) of Natural; v : x; you are NOT going to succeed if you have only 32-bits of address space :-) Sent via Deja.com http://www.deja.com/