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: a07f3367d7,d513f20add779b3d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.79.MISMATCH!transit4.hitnews.eu!feeder.news-service.com!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sun, 14 Feb 2010 02:05:46 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Migrating to Ada : a mini success story References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4b774c6e$0$7614$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 14 Feb 2010 02:05:50 CET NNTP-Posting-Host: 3e0d1ef5.newsspool1.arcor-online.net X-Trace: DXC=Zm8CS_Kg>a^U6b:FjPaGjQic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgRY]kYm`@K4aUBhmZ On 2/13/10 11:04 PM, Hibou57 (Yannick Duch�ne) wrote: > Hello once again, > > Here is a new quote about Ada, in another interesting context (no more > LP this time) : > http://gmarceau.qc.ca/blog/2009/05/speed-size-and-dependability-of.html > The interesting context, is that this comment was one after an article > containing interesting graphic charts comparing some measurable language > characteristics. Unfortunately, Ada is not part of any of these charts, > but there is this comment, and the charts which may be nice for your own > knowledge anyway. There is a chart "Ada 2005 GNAT" on the linked page, though. * The Shootout GCC compiler appears to have been updated to version 4.4, recently. - The good news: As a consequence, the chameneos-redux Ada program is working again. - The bad news: As a consequence, the chameneos-redux Ada program is working again. It runs 16 times slower than the best Java entry. Apparently Ada's median has moved from 1.xx to 2.xx. I believe this is related. (I'm not criticising, the program has been present for a long time. It obviously is performing better than its compiler :-) The Ada solution uses full tasking and this seems to be showing overhead here: Each task in chameneos-redux does *very* little, but communicates a *lot* with via POs, delays execution in a selective accept, the POs have entries, ..., so I think it is Ada's tasking overhead. I have tried using Ravenscar profile facilities instead (i.e. just suspension objects entry-less tasks) but rewriting this requires care (and skills, and time, and looking at different solutions... and possibly the resulting code is helped by a run-time that produces faster code if pragma Profile (Ravenscar) is in effect).