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,8fd45d32d7c94df3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: User Defined Storage Pool : did you ever experiment with it ? Date: Wed, 9 Feb 2011 20:08:18 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1297303701 25274 69.95.181.76 (10 Feb 2011 02:08:21 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 10 Feb 2011 02:08:21 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news2.google.com comp.lang.ada:18167 Date: 2011-02-09T20:08:18-06:00 List-Id: "Maciej Sobczak" wrote in message news:b1904d91-bdb3-4ab6-ac17-7a43d0a0de58@8g2000prt.googlegroups.com... On Feb 7, 11:18 pm, "Randy Brukardt" wrote: ... >But then - will this be implementable in a way that is simple enough >to allow reasonable inlining [*]? Remember that this feature will be >inevitably compared to C++. If Ada gets the performance part right, >this feature will sell very well. That depends on the implementation, I think. I doubt that early ones will be that great, but I expect it to get better over time. >[*] For the sake of comparison, the passive iterator idiom that is >currently used with containers is not inline-friendly. Maybe, but you'd never write one of those in Ada 2012 anyway. You'd instead write: for E of My_Container loop end loop; Here again, I expect early implementations to be an exact translation to the "canonical" code (probably not that wonderful), but later versions most likely will be better. Randy. -- Maciej Sobczak * http://www.inspirel.com