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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8055158949c56618 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-15 09:37:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Storage Pools and alloca Date: Tue, 15 Oct 2002 12:32:59 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:29802 Date: 2002-10-15T12:32:59-04:00 List-Id: "Frank J. Lhota" wrote in message news:PHWq9.20400$nb.8357@nwrddc02.gnilink.net... > > AFAIK, the "alloca" functionality could be added to Ada using the storage > pool facility. Someone already had that idea 25 years ago: procedure Op (N : Natural) is S : String (1 .. N); begin > 1) Does any Ada compiler provide this type of storage pool? Yes -- all of them. > 2) If this type of storage pool was available, would you find it useful? Yes. I do already. > 3) Would an "alloca" storage pool be a worthwhile addition to Ada 0x? No, because it's already part of the language.