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,1d575f572a099528 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-20 15:01:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!uunet!lax.uu.net!sac.uu.net!ash.uu.net!spool0900.news.uu.net!reader0901.news.uu.net!not-for-mail From: "Hyman Rosen" Newsgroups: comp.lang.ada References: <9ujh51$k6m$1@wanadoo.fr> <3C0EF345.47BCC09@adaworks.com> <568ede3c.0112071202.56fc9f@posting.google.com> <3C13BC4A.1C1EBE8B@adaworks.com> <568ede3c.0112110814.1c31fd91@posting.google.com> <3C1E2D52.7499E107@adaworks.com> Subject: Re: What is faster Ada or C? Date: Thu, 20 Dec 2001 18:02:00 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Organization: KBC Financial Products Message-ID: <1008889302.72075@master.nyc.kbcfp.com> Cache-Post-Path: master.nyc.kbcfp.com!unknown@mosquito.nyc.kbcfp.com X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1008889311 reader1.ash.ops.us.uu.net 2039 204.253.250.10 Xref: archiver1.google.com comp.lang.ada:18180 Date: 2001-12-20T18:02:00-05:00 List-Id: "Richard Riehle" wrote in message news:3C1E2D52.7499E107@adaworks.com... > With the exception of "inline" this is exactly what Ada does. Therefore, > I would continue to call it separate compilation. I am tempted to quote Abraham Lincoln: "If you call a tail a leg, it still doesn't make it a leg". We are talking about inline! You claimed that C++ traded off the benefits of separate compilation against the benefits of inlined code. I hope I have demonstrated to you that C++ and Ada behave in exactly the same way with regard to this trade-off, except that Ada can manage to locate the body of the procedure "by itself" (that is, Ada programming systems know where to look for a piece of code once its name is given) and C++ requires the programmer to have placed the body in scope at the call site.