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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.94.135 with SMTP id b7mr14878244icn.1.1424768851304; Tue, 24 Feb 2015 01:07:31 -0800 (PST) X-Received: by 10.140.104.174 with SMTP id a43mr162521qgf.2.1424768851170; Tue, 24 Feb 2015 01:07:31 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!hl2no20573986igb.0!news-out.google.com!n6ni11qar.0!nntp.google.com!j7no5362257qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 24 Feb 2015 01:07:31 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=105.210.0.209; posting-account=orbgeAkAAADzWCTlruxuX_Ts4lIq8C5J NNTP-Posting-Host: 105.210.0.209 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8e30f54c-81c4-4861-897c-bb6c563c76e8@googlegroups.com> Subject: silly ravenscar question From: jan.de.kruyf@gmail.com Injection-Date: Tue, 24 Feb 2015 09:07:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:25003 Date: 2015-02-24T01:07:31-08:00 List-Id: Hallo, I have a dumb question for which I don't find the answer: Doing a variable length linked list on Gnat for Arm I found I can do object_access := new object; but I can not free this object. I follow that dynamic memory allocation is something bad (tm), under certain circumstances. But now since 'new' seems to be allowed, does it work properly at all times? I mean I could link any freed objects into a free list for later use. That does not cost much, probably less than allocating by way of 'new'. But this way would be a type of dynamic memory allocation that then settles out at the maximum needed amount. Would that be 'Ravenscar-Pure' then? -------- 2nd silly question: What did the gods do to libre.adacore.com? For a while now it is very rare that I get access, and when I do it does not handle a download request properly. Is it just my internet feed? or is it systemic? Libre2 does work by the way, but for lots of things it links to libre or adacore. ----------- I am busy doing a very light ethernet fieldbus for a few Olimex stm34 boards and a pc. Since I did not see I could get any speed out of openPowerlink and EtherCAT needs more involved hardware (although it is very fast) Is there any interest in the community? I am willing to put it under GPL. Cheers, and thanks for your attention. jan.