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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,effb80d4bb7716dd X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Wanted: Ada STL. Reward: Ada's Future Date: 1999/02/02 Message-ID: <797qd4$r7e$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 439892569 References: <790f4q$3l@bgtnsc01.worldnet.att.net> X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Feb 02 21:24:00 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-02-02T00:00:00+00:00 List-Id: > On Mon, 1 Feb 1999, Ehud Lamm wrote: > > It seems that one problem in implementing STL in Ada95 > > is the lack of pointer arithmetic. This causes > > perofremance problems in real sense (to > > be exact the result is worse from a complexity point of > > view). That's odd, in talking to Alex, one of his comments about why Ada was a better environment than C++ for the design of such a library was *precisely* that Ada 95 does have general pointer arithmetic (as should be familiar, if not please look at System.Storage_Elements), and C++ does not (since one can only for example compare pointers that point into the same object meaningfully). So if lack of pointer arithmetic is a handicap, it is one that applies to C++, not to Ada 95. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own