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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,be98569334bf359 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!s31g2000yqs.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: C++ threads vs. Ada tasks - surprised Date: Mon, 17 Aug 2009 01:17:08 -0700 (PDT) Organization: http://groups.google.com Distribution: world Message-ID: References: NNTP-Posting-Host: 137.138.182.236 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1250497028 22912 127.0.0.1 (17 Aug 2009 08:17:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 17 Aug 2009 08:17:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s31g2000yqs.googlegroups.com; posting-host=137.138.182.236; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7838 Date: 2009-08-17T01:17:08-07:00 List-Id: On 17 Sie, 10:04, Frederik Sausmikat wrote: > > My expectations were wrong, as the Ada version proved to be ~2x faster > > on my machine (with GNAT 4.4.0 and g++ 4.4.0, taken from the same > > package, both versions compiled with -O2). > > Just FYI, on my machine the C++ version is the one being ~2x faster > (both gnat and g++ are version 4.3.3 here). Interesting. One professor used to say: Statistics is like bikini - what it shows is very suggestive, but the most important stuff is still hidden. ;-) -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada