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,7d14d8f47ca035bf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-04 05:50:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Ada Generic vs. C++ Templates Date: 04 Apr 2001 07:37:24 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3AC8E799.189EE51C@bigfoot.com> <9ab6uj$8201@news.cis.okstate.edu> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 986388726 22300 128.183.220.71 (4 Apr 2001 12:52:06 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 4 Apr 2001 12:52:06 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 Xref: supernews.google.com comp.lang.ada:6443 Date: 2001-04-04T12:52:06+00:00 List-Id: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) writes: > On Mon, 02 Apr 2001 21:26:12 GMT, Ted Dennison wrote: > >I didn't say they weren't of practical use. I just said they are not a feature > >that can be counted on to be portable; at least not according to Mozilla. Their > >website was quite recently updated, and still includes the template prohibition > >as rule #1. Since they run the most ported public application that I know of, > >I'm inclined to bow to their experience. > > Maybe the most ported public C++ application; I think gcc, which runs on > VMS, DOS, Windows, Unix, BeOS and MacOS X, among others, beats Mozilla, as > do a number of the other GNU tools. "gcc" is the Gnu Compiler Collection. It consists of a backend, written in K&R C. The C front end is also written in K&R C. The Ada front end is written in Ada (this is an Ada newsgroup, after all :). I haven't looked at the C++ front end; are you implying it is written in C++? And does it compile on anything other than Gnu C++? and does it use templates? Ted's point is that templates are not portable among compilers. Your response does not seem to address that issue. -- -- Stephe