comp.lang.ada
 help / color / mirror / Atom feed
From: "Ekkehard Morgenstern" <ekkehard.morgenstern@onlinehome.de>
Subject: Re: Double linked lists?
Date: Tue, 25 Nov 2003 02:27:26 +0100
Date: 2003-11-25T02:27:26+01:00	[thread overview]
Message-ID: <bpub5t$73g$1@online.de> (raw)
In-Reply-To: 3fc1ba26$1_1@news.tm.net.my


"Adrian Hoe" <AdrianHoe@nowhere.com> schrieb im Newsbeitrag
news:3fc1ba26$1_1@news.tm.net.my...
> kara wrote:
> > Does anyone know where I could take a look on an implementation of a
double
> > linked list in ada?

have a look at this:

http://www.ekkehardmorgenstern.de/lists.zip (the archive contains the
specification and body files for the implementation)

It's a doubly-linked listed scheme similar to that that was used in the
AmigaOS kernel (head node, tail node, unlimited node count, and nodes
derived from a simple node record).
It's not multithread-safe yet, but for a basic list scheme that's the most
efficient soluation IMO. ;-)

(btw, off-topic, but I just wanna say that Ada is awesome!! :-) I learnt
much of it in only three days, using the guide for C/C++ programmers on
http://www.adahome.com, the Ada 95 Rationale, and the Ada 95 Reference
manuals -- I didn't think it was that easy when I began, I was really
surprised!! :-) )





  reply	other threads:[~2003-11-25  1:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3fc18f57$1_2@aeinews.>
2003-11-24  8:02 ` Double linked lists? Adrian Hoe
2003-11-25  1:27   ` Ekkehard Morgenstern [this message]
2003-11-25 18:05     ` Jeffrey Carter
2003-11-25 18:47       ` Ekkehard Morgenstern
2003-11-24 18:05 ` Jeffrey Carter
replies disabled

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