comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Dynamic allocation in the predefined language environment
Date: Tue, 7 Jul 2015 13:29:59 -0500
Date: 2015-07-07T13:29:59-05:00	[thread overview]
Message-ID: <mnh5r7$ajs$1@loke.gir.dk> (raw)
In-Reply-To: ly4mlhx94q.fsf@pushface.org

"Simon Wright" <simon@pushface.org> wrote in message 
news:ly4mlhx94q.fsf@pushface.org...
> "Randy Brukardt" <randy@rrsoftware.com> writes:
>
>> "Simon Wright" <simon@pushface.org> wrote in message
>> news:lytwthxq1t.fsf@pushface.org...
>>> Bob Duff <bobduff@theworld.com> writes:
>>>
>>>> Yes, the predefined containers packages unfortunately don't allow you
>>>> to specify the storage pool.
>>>
>>> An advantage of the Booch Components!
>>
>> Which works because there is only a single implementation of both the
>> specs and bodies. If you don't specify the contents of the bodies,
>> specifying the storage pool is nearly useless (the main use would be
>> to use some sort of debugging pool), as the only pool implementations
>> would have the same properties as the global default storage pool.
>
> Come to think, the time we used this was as the storage pool for
> fixed-size objects, pointers to which were held in a bounded container.

Exactly, that's what you want to do. But unless you put severe constraints 
on the implementation, you can't assume anything about the size of the 
objects allocated, so such techniques don't work (portably at least).

                              Randy.



  reply	other threads:[~2015-07-07 18:29 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
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 [this message]
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