comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Very Large Arrays (VLAs)
Date: Tue, 30 Jan 2001 06:29:05 GMT
Date: 2001-01-30T06:29:05+00:00	[thread overview]
Message-ID: <955mvd$ca5$1@nnrp1.deja.com> (raw)
In-Reply-To: 3A7582BD.D51615EB@earthlink.net

In article <3A7582BD.D51615EB@earthlink.net>,
  "Marc A. Criley" <mcquadex@earthlink.net> 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/



  reply	other threads:[~2001-01-30  6:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 15:48 Very Large Arrays (VLAs) Marc A. Criley
2001-01-30  6:29 ` Robert Dewar [this message]
2001-01-30 12:20   ` Dale Stanbrough
2001-01-30 12:35     ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox