comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Generic Containers in Ada2005
Date: Tue, 8 Feb 2011 17:26:48 -0800 (PST)
Date: 2011-02-08T17:26:48-08:00	[thread overview]
Message-ID: <f21887d1-99c7-4cda-ad8c-ab27b5fb47f9@m13g2000yqb.googlegroups.com> (raw)
In-Reply-To: iisps3$h3g$1@tornado.tornevall.net

On Feb 8, 4:57 pm, Jeffrey Carter <spam.jrcarter....@spam.not.acm.org>
wrote:
> On 02/08/2011 05:43 PM, Bryan wrote:
>
>
>
> > I realize that I can write a wrapper interface and create my own queue, but
> > queues are so common I can't believe we have Hashed_Maps and not a simple
> > Queue container.
>
> I agree. And given that the Ada philosophy was usually to provide building
> blocks that the user can combine to create more complex things, it always
> surprised me that the library, when it finally came into existence, requires the
> implementor to have implementations of hash tables and an O(log N) searchable
> structure, but not to make them available to the user. (Of course, implementors
> have always had to have unlimited-precision math libraries, but not make them
> available.)
>
> Personally, I'd base a queue on the lists package rather than the vectors.
>
> You can find queues, as well as bounded data structures in the PragmAda Reusable
> Components:
>
> http://pragmada.x10hosting.com/pragmarc.htm

Or look at http://www.adaic.org/ada-resources/tools-libraries/ for
Booch components and Charles (Charles Container Library). Although,
Ada 95 is the target, Booch components should be compatible with Ada
2005.

A. Vo



  reply	other threads:[~2011-02-09  1:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  0:43 Generic Containers in Ada2005 Bryan
2011-02-09  0:57 ` Jeffrey Carter
2011-02-09  1:26   ` Anh Vo [this message]
2011-02-09 10:56     ` Simon Wright
2011-02-09  8:33 ` Dmitry A. Kazakov
2011-02-09 16:01   ` Bryan
2011-02-09 19:10     ` Jeffrey Carter
2011-02-09 20:06     ` Simon Wright
2011-02-09 20:56   ` Maciej Sobczak
2011-02-09 21:22     ` Dmitry A. Kazakov
2011-02-10  2:03 ` Randy Brukardt
2011-02-11  7:08   ` Stephen Leake
replies disabled

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