comp.lang.ada
 help / color / mirror / Atom feed
From: "Arthur G. Duncan" <aduncan@global2000.net>
Subject: Re: A simple question: is there anything in Ada like STL in C++
Date: Tue, 03 Jul 2001 02:13:20 GMT
Date: 2001-07-03T02:13:20+00:00	[thread overview]
Message-ID: <3B412A9A.7A8E@global2000.net> (raw)
In-Reply-To: mailman.994025284.18432.comp.lang.ada@ada.eu.org

David C. Hoos, Sr. wrote:
> 
> Strange as it may seem, the STL actually had its origins in Ada.  The
> work was headed p by Professor David Musser at Rensselaer
> Polytechnic Institute, and the work used to be published on the Web.
> 
> It now seems to have disappeared.

The work was called the Ada Generic Library and was carried by
Alex Stepanov and Dave Musser, while Musser was still at the
GE Research and Development Center in Schenectady, New York.
Stepanov, at the time, was teaching at the Polytechnic University
in Brooklyn. Stepanov also worked at GE-CR&D before going to
Polytechnic.

The library consisted of a number of generic list processing 
algorithms. The work was published by Springer in 1989
(ISBN 0-387-97133-5).

The work grew out of some of Stepanov's work on Higher Order
Programming in Scheme, which he had developed at the Polytechnic
University. In Scheme Stepanov used higher-order functions (i.e.,
functions that accepted functions as arguments and returned functions
as their result) to generate the list algorithm implementations.
In Ada, Musser and Stepanov used generics, since Ada does not
support higher-order functions (at least not directly).

A side note.  Some of these implementations used up to six levels
of generic instantiation, which was sufficient to break most of
the commercial Ada compilers available at that time.

For something more like the STL in Ada, there is a paper by
Erlingsson and Konstantinou (1996), describing some work aimed at
providing an Ada analogue of the STL. This work was done at
R.P.I. under the direction of Dave Musser.

Hope this helps

Regards,

- Art Duncan
  NYS-HESC
  Adjunct Professor, Rensselaer Polytechnic Institute



  parent reply	other threads:[~2001-07-03  2:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-01 12:45 A simple question: is there anything in Ada like STL in C++ Michael Meng
2001-07-01 13:09 ` Gary Lisyansky
2001-07-02 13:25   ` Stephen Leake
2001-07-01 22:07 ` David C. Hoos, Sr.
2001-07-02 11:27   ` Colin Paul Gloster
2001-07-02 11:43   ` Michael Meng
2001-07-03  2:13   ` Arthur G. Duncan [this message]
2001-07-02 18:34 ` H. Ziegler
replies disabled

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