From: mheaney@on2.com
Subject: Re: Bye, bye?
Date: 9 Feb 2005 11:04:12 -0800
Date: 2005-02-09T11:04:12-08:00 [thread overview]
Message-ID: <1107975852.720640.192140@f14g2000cwb.googlegroups.com> (raw)
In-Reply-To: <36dncgF5084neU1@individual.net>
Wes Groleau wrote:
>
> But much of what I do depends on hashes
> (associative arrays), which are built-in to perl.
> Plus I attach the hash to a DBM file.
>
> To do that in Ada, I'd have to not only upgrade Xcode
> (not an option right now) and install Ada (easy, but
> requires Xcode), but I'd also have to find or build
> a hash package (not hard) and/or a DBM binding (a little
> harder).
Associative arrays will be included in the next version of Ada, as part
of the standard container library:
ada.containers.hashed_maps
ada.containers.indefinite_hashed_maps
There will also be an ordered version (which does the same thing as the
hashed version, but with a different time complexity; it's also a bit
simpler to instantiate):
ada.containers.ordered_maps
ada.containers.indefinite_ordered_maps
There are also hashed and ordered sets (for use when you don't need a
separate key and element).
You can get a reference implementation in the ai302 subdirectory at the
charles.tigris.org website.
Look for the files named a-c*.ad[sb] .
-Matt
next prev parent reply other threads:[~2005-02-09 19:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-02 2:48 Bye, bye? Wes Groleau
2005-02-02 13:33 ` Frank J. Lhota
2005-02-03 4:19 ` Wes Groleau
2005-02-04 1:28 ` James E. Hopper
2005-02-04 3:46 ` Wes Groleau
2005-02-02 21:12 ` Ludovic Brenta
2005-02-03 4:24 ` Wes Groleau
2005-02-03 4:32 ` Wes Groleau
2005-02-09 19:04 ` mheaney [this message]
2005-02-03 0:20 ` Jeffrey Carter
2005-02-03 4:30 ` Wes Groleau
2005-02-03 5:54 ` Eric Jacoboni
2005-02-03 14:38 ` G. Vincent Castellano
2005-02-03 15:49 ` Martin Krischik
2005-02-05 19:50 ` tmoran
2005-02-06 7:19 ` Martin Krischik
2005-02-06 19:43 ` Simon Wright
2005-02-06 20:00 ` Pascal Obry
2005-02-04 1:08 ` Jeffrey Carter
2005-02-04 3:46 ` Wes Groleau
2005-02-04 3:48 ` Wes Groleau
2005-02-27 15:35 ` Paul Colin Gloster
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox