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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-05 20:26:02 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!newsfeed.earthlink.net!news.mindspring.net!not-for-mail From: Richard Riehle Newsgroups: comp.lang.ada Subject: Re: What is faster Ada or C? Date: Wed, 05 Dec 2001 20:25:41 -0800 Organization: AdaWorks Software Engineering Message-ID: <3C0EF345.47BCC09@adaworks.com> References: <9ujh51$k6m$1@wanadoo.fr> Reply-To: richard@adaworks.com NNTP-Posting-Host: 9e.fc.cd.2a Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 6 Dec 2001 04:25:19 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:17497 Date: 2001-12-06T04:25:19+00:00 List-Id: Bertrand Augereau wrote: > Practically, I've never used a C++ compiler where you couldn't declare an > inline assembly function (g++, intel c++, vc++, mwcw) > Moreover, you have float sqrtf(float) which allows you not to use double > sqrt(double) (it sometimes can be costly, ie PSX2) Practically, C++ inline functions are a bit of a nuisance since, in a class definition, one must fully code the implementation when in-lining. That is, C++ inline requires one to trade off the practical benefits of separate compilation for the practical benefits of in-lined code. Richard Riehle