comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: List container strawman 1.3
Date: Wed, 05 Dec 2001 16:42:35 GMT
Date: 2001-12-05T16:42:35+00:00	[thread overview]
Message-ID: <%7sP7.49836$xS6.82296@www.newsranger.com> (raw)
In-Reply-To: 3C0E1FA1.45A38A75@brighton.ac.uk

In article <3C0E1FA1.45A38A75@brighton.ac.uk>, John English says...
>
>Ted Dennison wrote:
>> The other issue is that this version won't actually compile as-is under Gnat.
>> (!) Every routine with both List and Iterator types complains that it can't
>> dispatch on both types. Frankly, I'm not sure I want it dispatching at all. I'd
>> think that since the user's view at this point is simply a private type, then
>> these routines would not be created as tagged primitives.
>
>Why does the iterator type need to be controlled? What's your mental
>model of what an iterator consists of? Mine generally says that an

An iterator doesn't but a *safe* iterator does (as the list needs to know when
its iterators go away). Perhaps I should have given this bit more fanfare, but
this strawman version is using the fully-safe iterator approach. That rounds out
the list of approaches used nicely. 

I think from a user-perspective it isn't a big change. The main change is that
you no longer have to provide a list with the iterator for every op, which has
to be viewed as an improvement. From an implementation perspective it
complicates things a bit, but I don't think its fatal to real-time use anymore,
which was my main concern. 

I've now provided an example of each kind of iterator. We need to make a
decision on this issue.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html

No trees were killed in the sending of this message. 
However a large number of electrons were terribly inconvenienced.



  reply	other threads:[~2001-12-05 16:42 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-05  0:08 List container strawman 1.3 Ted Dennison
2001-12-05  0:26 ` Ted Dennison
2001-12-05  1:31   ` Vincent Marciante
2001-12-05  8:35   ` Jean-Marc Bourguet
2001-12-05 15:02     ` Ted Dennison
2001-12-05 13:22   ` John English
2001-12-05 16:42     ` Ted Dennison [this message]
2001-12-05 21:22       ` Mark Lundquist
2001-12-05 21:38         ` Mark Lundquist
2001-12-05 22:42         ` Ted Dennison
2001-12-05 23:59           ` Mark Lundquist
2001-12-06 14:50             ` Iterator approach (was: List container strawman 1.3) Ted Dennison
2001-12-06 16:19               ` Ted Dennison
2001-12-06 17:41               ` Mark Lundquist
2001-12-06 17:57                 ` Preben Randhol
2001-12-07 16:19                 ` Ted Dennison
2001-12-06 17:47           ` List container strawman 1.3 Darren New
2001-12-07 16:00             ` Ted Dennison
2001-12-07 17:18               ` Darren New
2001-12-09 14:04                 ` Mark Lundquist
2001-12-05 16:44     ` Simon Wright
2001-12-05  2:57 ` Jeffrey Carter
2001-12-05  3:45   ` Ted Dennison
2001-12-05  6:01     ` Jeffrey Carter
2001-12-05 13:17 ` John English
2001-12-05 15:46   ` Ted Dennison
2001-12-05 18:03     ` Georg Bauhaus
2001-12-05 18:30       ` Ted Dennison
2001-12-06 13:56         ` Georg Bauhaus
2001-12-06 14:59           ` Ted Dennison
2001-12-06  0:18       ` Jeffrey Carter
2001-12-06 13:52         ` Georg Bauhaus
2001-12-06 16:56           ` Jeffrey Carter
2001-12-06 19:33             ` Georg Bauhaus
2001-12-07 16:22               ` Ted Dennison
2001-12-05 16:53   ` Ted Dennison
2001-12-05 17:09   ` Larry Kilgallen
2001-12-06 23:07 ` Nick Roberts
replies disabled

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