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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4b12a5cee4778f63,start X-Google-Attributes: gid103376,public From: Harald Schmidt Subject: GNAT & GCC performace (bad news) Date: 1999/12/02 Message-ID: #1/1 X-Deja-AN: 555941794 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Complaints-To: abuse@de.uu.net Organization: Customer of UUNET Deutschland GmbH, Dortmund, Germany Mime-Version: 1.0 User-Agent: Microsoft Outlook Express Macintosh Edition - 5.0 (1513) NNTP-Posting-Date: 2 Dec 1999 21:44:48 GMT Newsgroups: comp.lang.ada Date: 1999-12-02T21:44:48+00:00 List-Id: Hi everybody, I am playing around with Ada95 since nearly two weeks for an upcoming project, trying to select the best language for a headless server application. I am using CodeBuilder from Feldman's Ada book which comes with gnat and gnu c. My experience while compiling and running the dhrystone benchmark was that the C version of the Dhrystone was nearly twice as fast as the Ada version, and this sounds really bad. Has anyone any idea why this is so and how to solve this problem. What I was expecting, because gnat isn't a compiler env. but a to-C(++) translator, the performance decrease about ten to twenty percent but not 50 percent. Harald