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,103b407e8b68350b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-06 01:51:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!news-xfer.cox.net!p01!news2.central.cox.net.POSTED!53ab2750!not-for-mail From: Ted Dennison User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Anybody in US using ADA ? One silly idea.. References: <3E147D79.2070703@cogeco.ca> <4519e058.0301031434.51a0c880@posting.google.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 06 Jan 2003 09:49:59 GMT NNTP-Posting-Host: 68.12.51.201 X-Complaints-To: abuse@cox.net X-Trace: news2.central.cox.net 1041846599 68.12.51.201 (Mon, 06 Jan 2003 04:49:59 EST) NNTP-Posting-Date: Mon, 06 Jan 2003 04:49:59 EST Organization: Cox Communications Xref: archiver1.google.com comp.lang.ada:32606 Date: 2003-01-06T09:49:59+00:00 List-Id: Kevin Cline wrote: >That document is now almost five years old. Two years before that I ...and yet is still linked to on the main programming page. That's becase nothing in there has needed changing. That is *still* the policy at Mozilla. > and MSVC 5.0. Today most template code is portable, except for a > couple of > features not implemented by MSVC 6.0. More than a couple. None of the function generators work at all (try using a "for all" or "for each" template to insert something into or delete something from a container based on a predicate, which is pretty much what they were created for. It doesn't work.), and automatic instantiation doesn't work except in trivial cases. Large portions of boost are unusable too. Lots of the stuff that *is* usable requires you to manually specify the template parameters (because its auto-instantiation sucks). The only way you could possibly make any reasonably complicated template code "portable" is with conditional compliation, or by going out of your way to use the least-common denominator. With 2 or 3 platforms that you know about ahead of time you might be able to do that. Mozilla has to work with so many different sucky C++ compilers that the least common denominator is no templates at all. > I think that Microsoft Ada > supports an even smaller subset of the Ada language. That's a very good way of describing Microsoft C++ too. :-) >>I don't really consider this an issue. Bindings to anything that has a C >>interface are almost trivial to generate. > > > Do you mean they can be generated automatically? Well...yes there are such generators about, but no, that's not what I meant. I typically prefer to create my *own* bindings by hand, and have no compunction about doing so, even when good bindings are already available. That's what I mean by "almost trivial". Its about the same amount of work as writing external funtion prototypes in C.