comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: GUI was Re: why Ada is so unpopular ?
Date: Wed, 21 Jan 2004 13:22:15 -0600
Date: 2004-01-21T13:22:15-06:00	[thread overview]
Message-ID: <100tkcshhdi686a@corp.supernews.com> (raw)
In-Reply-To: mailman.12.1074699773.281.comp.lang.ada@ada-france.org

"amado.alves" <amado.alves@netcabo.pt> wrote in message
news:mailman.12.1074699773.281.comp.lang.ada@ada-france.org...
<<...If GtkAda was going to return a
list of something, shouldn't it ought to be a *Charles* list rather than
something that was specific to GtkAda? ...>>

> Absolutely. This is a fascinating issue. I thought about it when I wrote
here before, but kept
> silent. But now that you've touched it, I'll add a bit. A *lot* of Ada
libraries, including already
> standard ones (e.g. ASIS) and upcoming standard (e.g.
Directory_Operations), deal with a lot
> of data structures, and so they should be using the standard for that
(Ada.Containers, also
> upcoming, AI-302). The result would be clearly a good thing, more cohesion
both in the
> standard and in applications. This is motivation number 1 for
Ada.Containers in my paper
> in Ada-Europe 2004 (about persistent containers, but touching the general
issue in passing).

I can't speak for ASIS, but in the case of Directory_Operations, there is no
place where a container could usefully be used. Containers are mainly useful
in non-critical parts of your application (where time and/or space
requirements aren't critical), and that cannot be said with certainty about
the various standard libraries. Moreover, you certainly don't want searching
operations returning vectors of file names, you would have no idea
whatsoever what the time/space usage of that would be. (Directories with
thousands of files aren't uncommon.) I wrote a package which did that in the
very early days of Ada, and quickly abandoned it because of problems with
large result sets. Of course, if you need a vector of files, just create it,
it's easy enough.

I agree with your basic point (that the libraries of Ada should be
integrated where possible), but the ones that are really bad offenders (like
the Ada.Strings hierarchy) already exist and aren't going to have major
changes in them.

                  Randy.









  reply	other threads:[~2004-01-21 19:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21 15:42 GUI was Re: why Ada is so unpopular ? amado.alves
2004-01-21 19:22 ` Randy Brukardt [this message]
2004-01-22 13:42   ` Marin David Condic
2004-01-22 17:48     ` Warren W. Gay VE3WWG
2004-01-22 19:30       ` Jeffrey Carter
2004-01-23 17:37         ` Warren W. Gay VE3WWG
2004-01-23 13:34       ` Marin David Condic
2004-01-23 17:50         ` Warren W. Gay VE3WWG
2004-01-23 19:20           ` Hyman Rosen
2004-01-24  6:26             ` Robert I. Eachus
2004-01-24  9:37             ` Georg Bauhaus
2004-01-22 19:33     ` Randy Brukardt
2004-01-23 13:38       ` Marin David Condic
2004-01-22 13:26 ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2004-01-22 19:03 amado.alves
2004-01-23 17:55 ` Warren W. Gay VE3WWG
2004-01-21 18:15 amado.alves
2004-01-20 17:55 Robert C. Leif
2004-01-20 18:58 ` Georg Bauhaus
2004-01-20 14:16 amado.alves
2004-01-21 13:22 ` Marin David Condic
2004-01-21 17:28   ` Jeffrey Carter
2004-01-20  4:06 Robert C. Leif
2004-01-20  7:39 ` Preben Randhol
2004-01-20 10:40   ` Georg Bauhaus
2004-01-20 10:59     ` Preben Randhol
2004-01-20 19:42       ` Randy Brukardt
2004-01-20 20:12         ` tmoran
2004-01-21 13:01           ` Marin David Condic
2004-01-21 18:05             ` tmoran
2004-01-21 12:52         ` Marin David Condic
2004-01-20 13:22 ` Marin David Condic
2004-01-20 17:41   ` Warren W. Gay VE3WWG
2004-01-19  4:11     ` Mark Lorenzen
replies disabled

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