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,1d575f572a099528 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-01 02:16:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: What is faster Ada or C? Date: 01 Dec 2001 11:13:41 +0100 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3c08314d$0$158$9b622d9e@news.freenet.de> NNTP-Posting-Host: avelizy-103-1-2-201.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: wanadoo.fr 1007201761 15155 217.128.15.201 (1 Dec 2001 10:16:01 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 1 Dec 2001 10:16:01 GMT Original-Sender: d:\home\obry@PASCAL User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:17272 Date: 2001-12-01T10:16:01+00:00 List-Id: "Heiko Hamann" writes: > Hi! > > I have a program written in Ada that is very processor intensiv. It does bit > and integer operations. What would you guess is the faster languages for > this task? Ada or C - or another language (excpet Assembler)? Can that be > said in common? What is about some benchmarks concerning this case? Ada is known to be 1867 times faster than C ;) No seriously, there is no reserved words in the Ada language that looks like 'high_speed', 'do_this_as_quickly_as_possible' or whatever! The fastest program is the one that use the right algorithm and a good compiler. So if your question is: Is there some good Ada compilers around that does high optimization ? Then the answer is definitly yes. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"