comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Container reqs
Date: Thu, 25 Oct 2001 17:18:33 -0400
Date: 2001-10-25T21:18:34+00:00	[thread overview]
Message-ID: <9r9vja$f3f$1@nh.pace.co.uk> (raw)
In-Reply-To: 9r9rqj$5dh$1@news.huji.ac.il

We're probably not far off in terms of goals and objectives. I'd just like
to actually see something emerge from this process that has a concrete
result and a significant benefit to Ada. My fear is that with an informal
sort of process like this, it will drift in too many directions for too long
until eventually interest wanes and we don't see anything come of it. Its a
problem for volunteer projects. If there were a dozen of us getting paid to
do it and we had a deadline, I have every confidence that we'd hammer out
something. As it is (and without some indication of support/endorsement from
vendors) its hard to see a concrete result emerging any time soon.

By "Lists" I have in mind a dynamically allocated, doubly linked list. In my
experience, things like stacks and queues (at least dynamic ones) are just a
subset of calls to a doubly-linked list and so they don't get used much in
practice. (We could debate for hours the relative merits and usefulness of
static/dynamic stacks/queues/lists/double-lists/etc. All that is "nice" and
"interesting" but I think that just getting a doubly-linked-list package
available would probably handle enough practical conditions that it would
get beat to death in normal usage.)

I would note that the MFC basically provides some version of Lists and Maps
and no other particular data structures. (Depending on what arguments one
wants to have about what constitutes a "Data Structure". I'm thinking about
just a general container kind of thing.) Hence getting just that far would
bring us up to par with MSVC++ in that area. Not that I want to duplicate
everything in the MFC, but lots of people write lots of code using it and
they get lots of mileage out of Lists and Maps available to them there. It
isn't *everything* but it is, as I have observed, A Good Start.

Now I can see the point about wanting to get the right concepts together so
that extensions don't start becoming a problem. Should these be generic or
some form of OO Inheritance? (I'm thinking generic for a "basic" set) Should
they have private, limited and/or tagged parameters? (I'd start with "Basic"
as the rule and create variants - make a set with private parameters and
clone them off for limited/tagged usage.)

I'm still hoping to see some support for a basic set of data structures.
Take a look at the standard/semi-standard libraries that come with other
languages or products and you can see signs that they did not start out in
life with "The Grand, Unified, Theory Of Code Libraries" guiding their every
development. Most of them look like they started out small and had branches
and wings added on to them over time. So long as the initial development
doesn't hopelessly hamstring future add-ons, and the initial cut at it
provides some useful, core tools, I'd think we had something O.K. to adopt
and build on.

Heck! I'd get on board with one of the existing packages if there was some
emerging consensus from the users and some buy-in from the compiler writers.
So far, there seems to be neither, so I think it would be better to come up
with some small core of things that *could* be agreed upon as being
generally useful and *might* get some buy-in from the compiler vendors. I
don't know if I'm a lone voice crying out in the wilderness over this or
not. I'd suspect that most Ada users would be happy to see their compiler
come with a library full of stuff they could use with some confidence that
it would be portable to other compilers and didn't require a masters degree
in CS to figure out how to use. I hope we can get that far.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Ehud Lamm" <mslamm@mscc.huji.ac.il> wrote in message
news:9r9rqj$5dh$1@news.huji.ac.il...
> I agree with almost all your points.
>
> Indeed we can start with some minimal number of conponents, and build on
> from there. I also agree that endless debates, are - well - endless...
>
> My only concern is that without some overall design, you'll end up with a
> pile of packages, and not one consistent library.
> I want things to compose nicely, and be extendable.
>
> That's also why I agree that debating the various existing libraries,
though
> educational is not "good for the cause".
>
> Still, I'd feel better with something organised by ADT properties. Thus
MAPS
> are fine, where as I'd like clarification about Lists. Are we talking
> sequential structures, or about the implementation as linked sturctures?
>
> I prefer maps, queues, dequeues etc.
>
> Ehud
>
>





  reply	other threads:[~2001-10-25 21:18 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14 20:46 Container reqs Ehud Lamm
2001-10-14 22:00 ` Larry Kilgallen
2001-10-15 20:04   ` Ehud Lamm
2001-10-16 15:19     ` Ted Dennison
2001-10-16 19:17     ` Darren New
2001-10-14 22:52 ` James Rogers
2001-10-15  1:22   ` Darren New
2001-10-15 20:06   ` Ehud Lamm
2001-10-16 18:29     ` Stephen Leake
2001-10-17  5:55     ` Simon Wright
2001-10-15 20:15   ` Ehud Lamm
2001-10-15  6:49 ` Jeffrey Carter
2001-10-16 15:25   ` Ted Dennison
2001-10-17 12:40     ` John English
2001-10-17 13:16       ` Ted Dennison
2001-10-18 15:26         ` John English
2001-10-18 16:02           ` Ted Dennison
2001-10-17 14:17       ` Ehud Lamm
2001-10-23  8:17         ` John English
2001-10-23 14:23           ` Ehud Lamm
2001-10-23 20:07             ` Stephen Leake
2001-10-23 20:46               ` Ehud Lamm
2001-10-23 20:50               ` Ted Dennison
2001-10-23 21:18                 ` Marin David Condic
2001-10-24  8:30                   ` Ehud Lamm
2001-10-24 14:08                     ` Marin David Condic
2001-10-25 20:10                       ` Ehud Lamm
2001-10-25 21:18                         ` Marin David Condic [this message]
2001-10-25 21:25                         ` Marin David Condic
2001-10-23 21:27                 ` Larry Hazel
2001-10-23 22:03                   ` Ehud Lamm
2001-10-15 14:27 ` Ted Dennison
2001-10-15 17:47   ` Darren New
2001-10-15 20:08   ` Ehud Lamm
2001-10-17  6:08     ` Simon Wright
2001-10-18 20:52       ` Ehud Lamm
2001-10-18 22:29         ` Jeffrey Carter
2001-10-19 12:10           ` Georg Bauhaus
2001-10-19 15:36           ` Stephen Leake
2001-10-19 14:53             ` Ehud Lamm
2001-10-20 11:10               ` Simon Wright
2001-10-21 18:17               ` Stephen Leake
2001-10-22 17:02                 ` Ehud Lamm
2001-10-22 17:34                   ` David Botton
2001-10-22 18:02                     ` Ehud Lamm
2001-10-20  2:44             ` Jeffrey Carter
2001-10-21 18:24               ` Stephen Leake
2001-10-23  1:13               ` Stephen Leake
2001-10-23  2:09                 ` Jeffrey Carter
2001-10-23 13:29                   ` Ted Dennison
2001-10-24  2:26                     ` Jeffrey Carter
2001-10-24 13:54                       ` Ted Dennison
2001-10-24 14:02                         ` Lutz Donnerhacke
2001-10-24 14:24                         ` Marin David Condic
2001-10-24 19:01                         ` Stephen Leake
2001-10-25  1:40                         ` Jeffrey Carter
2001-10-15 14:39 ` Lutz Donnerhacke
2001-10-15 15:36   ` Marin David Condic
2001-10-16 18:47     ` Stephen Leake
2001-10-16 19:18       ` Marin David Condic
2001-10-15 20:13   ` Ehud Lamm
2001-10-16  8:14     ` Lutz Donnerhacke
2001-10-16  8:50       ` Ehud Lamm
2001-10-16 10:12         ` Lutz Donnerhacke
2001-10-16  9:45   ` Jean-Marc Bourguet
2001-10-16 13:20     ` Ehud Lamm
2001-10-16 15:34       ` Ted Dennison
2001-10-16 18:49         ` Stephen Leake
2001-10-17  6:02         ` Simon Wright
2001-10-16 17:21     ` Jeffrey Carter
2001-10-16 18:57       ` Ted Dennison
2001-10-16 18:59       ` Stephen Leake
2001-10-16 19:38         ` Marin David Condic
2001-10-16 20:01           ` Larry Kilgallen
2001-10-16 20:19             ` Marin David Condic
2001-10-30  6:53           ` Barry Kelly
2001-10-30 14:53             ` Marin David Condic
2001-10-30 16:14             ` Jean-Marc Bourguet
2001-10-30 16:55               ` Marin David Condic
2001-10-31  6:37                 ` Simon Wright
2001-10-30 17:45             ` Stephen Leake
2001-10-16 22:12         ` Robert*
2001-10-17  7:09       ` Jean-Marc Bourguet
2001-10-17 13:36         ` Ted Dennison
2001-10-17 14:12           ` Jean-Marc Bourguet
2001-10-17 15:15             ` Ted Dennison
2001-10-17 16:32               ` Jean-Marc Bourguet
2001-10-17 16:49                 ` Ted Dennison
2001-10-17 16:55                   ` Ehud Lamm
2001-10-18  7:39                 ` Lutz Donnerhacke
2001-10-18  9:03                   ` Jean-Marc Bourguet
2001-10-18 17:25                     ` Jeffrey Carter
2001-10-18 20:09                       ` Lutz Donnerhacke
2001-10-18 22:35                         ` Jeffrey Carter
2001-10-19  8:44                           ` Lutz Donnerhacke
2001-10-20 11:14                             ` Simon Wright
2001-10-21 16:37                               ` Paul Duquennoy
2001-10-17 17:18         ` Jeffrey Carter
2001-10-18  8:59           ` Jean-Marc Bourguet
2001-10-18 19:42         ` Simon Wright
2001-10-18 20:55           ` Ehud Lamm
2001-10-22  6:46       ` Kenneth Almquist
2001-10-22  8:04         ` mike
2001-10-22  8:42           ` Lutz Donnerhacke
2001-10-22 16:30         ` Jeffrey Carter
2001-10-22 17:14           ` Ehud Lamm
2001-10-16 11:37 ` Jean-Marc Bourguet
2001-10-16 13:23   ` Ehud Lamm
2001-10-16 13:39     ` Jean-Marc Bourguet
2001-10-16 15:36     ` Vincent Marciante
2001-10-16 16:15       ` Pat Rogers
2001-10-16 19:04     ` Stephen Leake
2001-10-16 15:53   ` Ted Dennison
2001-10-16 15:58     ` Jean-Marc Bourguet
replies disabled

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