comp.lang.ada
 help / color / mirror / Atom feed
From: "amado.alves" <amado.alves@netcabo.pt>
To: <comp.lang.ada@ada-france.org>
Subject: RE: GUI was Re: why Ada is so unpopular ?
Date: Thu, 22 Jan 2004 19:03:18 -0000
Date: 2004-01-22T19:03:18+00:00	[thread overview]
Message-ID: <mailman.20.1074798219.281.comp.lang.ada@ada-france.org> (raw)

<<...this doesn't work very well when you drop
into a directory with thousands of files. A smart tree widget
might just peruse "directory portions", where the tree widget
is visible (perhaps a less than trivial exercise). But I suspect
they take the easy way out, and require all entries to be loaded
in to the widget's dynamic memory...>>

A solution to this is to have and use standard iterator signatures, defined e.g. as formal packages descendants of Ada.Containers. (As an iterator is clearly an item of container design, iterator signatures belong there.)

Directory_Listing (say) builds an 'internal' iterator, and return an instantiation of the standard signature, grounded on this internal iterator. Then all is well. The Directory package would not be using the Ada.Containers 'engines', but just their specification. (The advantages include the possiblity of interaction with other standard containers e.g. perform a deep copy of a part of the tree to send to a GUI object).

However, I think Ada.Containers should provide 'real' containers with the structure and efficiency required by Directories. Even the possible cyclic graphs of directories with links. If Ada.Containers does not have this already (I don't recall), it should be a simple (!) matter of adjusting (basically, generalizing) the structures already in the reference implementation of Directories (?) and moving them to Ada.Containers.

I suspect these things don't happen because of the communication costs between the teams working on the several proposals (Containers, Directories, ASIS, ...) The costs are high, we simply don't have the means to support them, so there simply is no communication. Result: a disconnected standard :-(



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

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 19:03 amado.alves [this message]
2004-01-23 17:55 ` GUI was Re: why Ada is so unpopular ? Warren W. Gay VE3WWG
  -- strict thread matches above, loose matches on Subject: below --
2004-01-21 18:15 amado.alves
2004-01-21 15:42 amado.alves
2004-01-21 19:22 ` Randy Brukardt
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
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