comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Dynamic allocation in the predefined language environment
Date: Mon, 6 Jul 2015 15:28:45 -0500
Date: 2015-07-06T15:28:45-05:00	[thread overview]
Message-ID: <mneodu$i43$1@loke.gir.dk> (raw)
In-Reply-To: 87y4itbb0z.fsf@theworld.com

"Bob Duff" <bobduff@theworld.com> wrote in message 
news:87y4itbb0z.fsf@theworld.com...
> Matthias-Christian Ott <ott@mirix.org> writes:
...
> Anyway, your original complaint (that the language doesn't let you
> choose the storage pool used for containers) is quite correct.
> I think it was considered, but I don't remember the details.

The problem was that it isn't very useful unless one very seriously 
constrains how the implementation can implement the containers. Without such 
constraints, any pattern of allocations has to be supported (as the 
implementation of the container could do anything), whereas most of the 
interesting storage pools put some sorts of limits on the sizes and/or 
numbers of allocations to get more deterministic memory management than the 
default storage pool. The original consideration was an alternative to the 
bounded containers for deterministic memory management, and allowing 
user-defined storage pools didn't really help with that. Thus they were not 
pursued further for Ada 2012.

There are other possible uses, of course, and perhaps we'll revisit this 
someday (they came up briefly during the recent ARG meeting, although I 
forget why).

                                             Randy.




  reply	other threads:[~2015-07-06 20:28 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 11:13 Dynamic allocation in the predefined language environment Matthias-Christian Ott
2015-07-06 13:04 ` G.B.
2015-07-06 14:21   ` Matthias-Christian Ott
2015-07-06 14:06 ` Bob Duff
2015-07-06 14:16   ` Matthias-Christian Ott
2015-07-06 14:23     ` G.B.
2015-07-06 14:43       ` Matthias-Christian Ott
2015-07-06 14:56         ` Bob Duff
2015-07-07  8:46           ` Matthias-Christian Ott
2015-07-07 22:32             ` Bob Duff
2015-07-08 19:47               ` Randy Brukardt
2015-07-08 21:08                 ` Bob Duff
2015-07-10 21:58                   ` Randy Brukardt
2015-07-08 21:16                 ` Dmitry A. Kazakov
2015-07-06 14:45     ` Bob Duff
2015-07-06 20:28       ` Randy Brukardt [this message]
2015-07-07  8:49       ` Matthias-Christian Ott
2015-07-07 22:14         ` Bob Duff
2015-07-06 15:29   ` Simon Wright
2015-07-06 20:31     ` Randy Brukardt
2015-07-06 21:35       ` Simon Wright
2015-07-07 18:29         ` Randy Brukardt
2015-07-06 20:22   ` Randy Brukardt
2015-07-06 18:45 ` Jeffrey R. Carter
2015-07-07  7:42 ` Dmitry A. Kazakov
2015-07-07  8:23   ` Matthias-Christian Ott
2015-07-07  8:46     ` Dmitry A. Kazakov
replies disabled

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