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-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news2.euro.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada) Date: Sun, 6 Mar 2005 21:49:48 +0000 (UTC) Organization: BT Openworld 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> <87eket97gp.fsf@insalien.org> <422b6f4c.1142401556@news.xs4all.nl> NNTP-Posting-Host: host81-154-188-69.range81-154.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: hercules.btinternet.com 1110145788 19906 81.154.188.69 (6 Mar 2005 21:49:48 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sun, 6 Mar 2005 21:49:48 +0000 (UTC) In-Reply-To: <422b6f4c.1142401556@news.xs4all.nl> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) Xref: g2news1.google.com comp.lang.ada:8773 comp.lang.c++:44390 comp.realtime:1036 comp.software-eng:4568 Date: 2005-03-06T21:49:48+00:00 List-Id: Wouter van Ooijen (www.voti.nl) wrote: >>Ada can teach C++ how to do templates properly. > > > I am definitely an Ada fan, but C++ templates are much much more > powerfull. AFAIK C++ is the only language in which you can create a > 'unit' based type system that is almost fully compile-time checked. There is are various ways of doing this in Ada just now but they are not zero-cost. A new way nearly made it into the Ada2005 standard, but was going to take too long to 'get right' so it was dropped. Might be looked at again for the 5-year ISO 'mini' revision. I hope so anyway. Cheers -- Martin