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-Thread: 103376,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!proxad.net!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Sender: obry@PASCAL Newsgroups: comp.lang.ada,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <112rs0bdr2aftdf@corp.supernews.com> <1inxxr988rxgg$.1w9dedak41k89.dlg@40tude.net> <112s1r0rf0o8nca@corp.supernews.com> <112sonip5v4dca6@corp.supernews.com> <112t3de6fu04f38@corp.supernews.com> From: Pascal Obry Date: 09 Mar 2005 10:08:37 +0100 Message-ID: Organization: Home - http://www.obry.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 09 Mar 2005 10:08:40 CET NNTP-Posting-Host: 82.120.30.69 X-Trace: 1110359320 news.wanadoo.fr 3136 82.120.30.69:3343 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:8914 comp.realtime:1106 comp.software-eng:4666 Date: 2005-03-09T10:08:40+01:00 List-Id: CTips writes: > Actually, I can verify that: if I look at the computer shootout > http://shootout.alioth.debian.org/great/, I find that gcc C beats gnat Ada > pretty much across the board; actually, Ada's performance sucks pretty much > across the board. One of gcc C or Intel C is generally among the top few > programs, while with a couple of exceptions, Gnat Ada is around the > middle. In matrix multiply it gets beaten by LISP, Java, and Python!!! (How > can you get beaten by Python? The mind boggles!) Let me answer. Because you are giving credits to something that you don't even understand! This makes me regards your other posts differently now. Did you really expect GNAT/Ada to be slower than Python, Java and LISP ??? Did you really or did you use this argument because you had nothing better! It is always tricky to compare speed of language implementations, but when the guys doing it are incompetent (or trying to play with the result?), what should we think! $ /opt/intel_cc_80/bin/icc -O3 -ipo -static matrix.c -o matrix.icc_run $ /usr/bin/gcc -pipe -Wall -O3 -fomit-frame-pointer -funroll-loops matrix.c -o matrix.gcc_run $ /usr/bin/gnatmake -f -u matrix.adb Why did they used all these fancy optimizations for intel C and GCC/C and not for GNAT/Ada!!!!! Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595