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-Thread: 103376,703c4f68db81387d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: 12 Mar 2005 15:30:29 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <1110377260.350158.58730@z14g2000cwz.googlegroups.com> <422f0c08$1_1@baen1673807.greenlnk.net> <1110421853.766292@athnrd02> <4%PXd.358789$w62.304065@bgtnsc05-news.ops.worldnet.att.net> <1110429670.232319@athnrd02> <1110447646.716725@athnrd02> <4230212c$0$26538$9b4e6d93@newsread4.arcor-online.net> <1110451882.739920@athnrd02> <423037a9$0$26552$9b4e6d93@newsread4.arcor-online.net> <1110457103.995140@athnrd02> NNTP-Posting-Host: shell01-e.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1110659429 32588 69.38.147.31 (12 Mar 2005 20:30:29 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 12 Mar 2005 20:30:29 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:9257 Date: 2005-03-12T15:30:29-05:00 List-Id: Marius Amado Alves writes: > We should keep in mind that the STL begun life as an Ada library. See > the famous Stepanov interview at > http://www.sgi.com/tech/stl/drdobbs-interview.html His contact with Ada > generics was crucial for the development of C++ templates and the STL. > He move to C/C++ for career reasons and basically he (consulting with > Stroutstrup) created C++ templates because he needed generics in C++ to > do there what he had done in Ada! Career reasons? I believe Stepanov is on record as stating that at least part of the reason for using C++ is that the STL can be programmed more efficiently in that language than in Ada. I *think* he was talking about Ada 83. And I think he was mainly referring to the ability to make pointers into the middle of an array, and to do address arithmetic on them. The former is easy in Ada 95, and the latter is possible, although it requires jumping through some hoops. - Bob