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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!weretis.net!feeder4.news.weretis.net!gandalf.srv.welterde.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: GNAT GPL is not shareware Date: Fri, 30 Jan 2015 13:46:47 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <0Kgqw.953330$_k.685364@fx16.iad><199c826a-923e-497f-a8e2-9e732c8a5665@googlegroups.com><87bnmetex4.fsf@ludovic-brenta.org><4ae7f0d5-d681-4be9-95bc-b5e789b3ad40@googlegroups.com><87tx06rve6.fsf@ludovic-brenta.org><87lhlirpk0.fsf@ludovic-brenta.org> <724c149f-0396-42a4-8594-bdbf21cce0d9@googlegroups.com> NNTP-Posting-Host: rrsoftware.com X-Trace: loke.gir.dk 1422647207 24361 24.196.82.226 (30 Jan 2015 19:46:47 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 30 Jan 2015 19:46:47 +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.6157 Xref: number.nntp.giganews.com comp.lang.ada:192127 Date: 2015-01-30T13:46:47-06:00 List-Id: "Simon Wright" wrote in message news:lylhkkcdec.fsf@pushface.org... ... > I can't at the moment include Ada.Containers.* in my STM32F4 RTS, > because I don't support memory allocation, The bounded containers shouldn't require any allocation; there is Implementation Advice to avoid that. If there is an issue, it's probably with finalization. The containers themselves aren't supposed to use finalization, but its likely that the iterators and references do. > and AdaCore don't include any > Containers in their Ravenscar RTSs for the same board, and I only have > 192K of RAM to play with! but if I did, I'd use the FSF version. A bounded container is only as big as you need it to be. (Well, unless the compiler is doing something unfriendly.) Not having bounded containers is pretty much like not having arrays, IMHO. Randy.