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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-13 23:49:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone2.gnilink.net!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!53ab2750!not-for-mail Message-ID: <3D0991EE.6030202@mail.com> From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ada paper critic References: <3D0976BD.21FA7516@sympatico.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 14 Jun 2002 06:49:15 GMT NNTP-Posting-Host: 162.83.247.204 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1024037355 162.83.247.204 (Fri, 14 Jun 2002 02:49:15 EDT) NNTP-Posting-Date: Fri, 14 Jun 2002 02:49:15 EDT Xref: archiver1.google.com comp.lang.ada:25924 Date: 2002-06-14T06:49:15+00:00 List-Id: David Marceau wrote: > There is implicit instantiation in all languages. > As you with in/import/include a package/class, you implicitly want to > instantiate the characterics necessary for a supporting package/class. > By ensuring a very limited scope to every instantiation of a > package/class, we can mitigate this issue. Um, I think you're barking up the wrong tree here. I think the "implicit instantiation" referred to here is the automatic instantiation of generic subprograms using analysis of the types of the parameters in a call to the generic itself. This is the C++ way. Ada requires explicit instantiation of generic instances. This gets in the way of doing nice things with units, for example. The differences between Ada and C++ in this regard affect whole-program behavior, so it's not easy to retrofit automatic instantiation into Ada, nor to compile and link instantiations in C++.