comp.lang.ada
 help / color / mirror / Atom feed
From: jan.de.kruyf@gmail.com
Subject: silly ravenscar question
Date: Tue, 24 Feb 2015 01:07:31 -0800 (PST)
Date: 2015-02-24T01:07:31-08:00	[thread overview]
Message-ID: <8e30f54c-81c4-4861-897c-bb6c563c76e8@googlegroups.com> (raw)

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.

             reply	other threads:[~2015-02-24  9:07 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24  9:07 jan.de.kruyf [this message]
2015-02-24 10:29 ` silly ravenscar question Dmitry A. Kazakov
2015-02-24 11:11   ` jan.de.kruyf
2015-02-24 13:38     ` Dmitry A. Kazakov
2015-02-25  8:48       ` jan.de.kruyf
2015-02-25 10:46         ` Dmitry A. Kazakov
2015-02-25 17:35           ` jan.de.kruyf
2015-02-25 17:55             ` Dmitry A. Kazakov
2015-02-26  8:48               ` jan.de.kruyf
2015-02-26  9:47                 ` Dmitry A. Kazakov
2015-02-26 12:07                   ` jan.de.kruyf
2015-02-26 19:09                   ` jan.de.kruyf
2015-02-27  8:58                     ` Dmitry A. Kazakov
2015-02-28 19:57                       ` jan.de.kruyf
2015-03-01  9:27                         ` Dmitry A. Kazakov
2015-03-03  8:42                           ` jan.de.kruyf
2015-03-03 10:57                             ` Dmitry A. Kazakov
2015-02-24 11:02 ` Jacob Sparre Andersen
2015-02-24 11:23   ` jan.de.kruyf
2015-02-24 13:43     ` Bob Duff
2015-02-25  9:07       ` jan.de.kruyf
2015-02-25 17:50         ` Simon Wright
2015-02-26  7:35           ` jan.de.kruyf
2015-02-26 14:57             ` Simon Wright
2015-02-26 19:36               ` jan.de.kruyf
2015-02-27  8:45                 ` Simon Wright
2015-02-27  9:59                   ` jan.de.kruyf
2015-02-28  9:57                     ` Simon Wright
2015-02-28 19:08                       ` jan.de.kruyf
2015-02-28 20:23                         ` Simon Wright
2015-03-03  8:52                           ` jan.de.kruyf
2015-02-24 15:30     ` Brad Moore
2015-02-24 16:52       ` Simon Wright
2015-02-25  3:01         ` Dennis Lee Bieber
2015-02-24 11:22 ` slos
2015-02-24 12:16   ` jan.de.kruyf
2015-02-24 11:24 ` J-P. Rosen
2015-02-24 12:10   ` jan.de.kruyf
2015-02-24 13:58 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox