From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8eff44ec1bcf8433 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-15 13:31:05 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Container reqs Date: Mon, 15 Oct 2001 22:06:49 +0200 Organization: The Hebrew University of Jerusalem Message-ID: <9qfgl9$7sb$2@news.huji.ac.il> References: <9qctpn$lil$1@news.huji.ac.il> <3BCA173D.FA305845@worldnet.att.net> NNTP-Posting-Host: di4-3.dialin.huji.ac.il X-Trace: news.huji.ac.il 1003177450 8075 132.64.14.3 (15 Oct 2001 20:24:10 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Mon, 15 Oct 2001 20:24:10 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:14588 Date: 2001-10-15T22:06:49+02:00 List-Id: James Rogers wrote in message news:3BCA173D.FA305845@worldnet.att.net... > > > For the unbounded containers we may want versions allowing one to > designate the storage pool used. What's the best way to do this? Does this mean that we would have to implement useful storage pools as part of the effort, and if so - which? > This corresponds roughly with the approach taken by Java. It has > containers that implement various kinds of lists and sets. They are > organized by ADT properties and not by implementation details. Right. I don't really like Java, and detest its lack of generics, but the overall structure of the Java containers seems pretty good. > > * Memory handling is important, but we don't want to have to do > > library-level instantaions beacuse of Controlled types. > > Memory handling could be made somewhat transparent with the > careful use of storage pools. > How about some practical examples? I know the theory, but real life examples would be interesting. Ehud