comp.lang.ada
 help / color / mirror / Atom feed
* Re: What about garbage collection?
       [not found] <pdsql2$pkf$3@dont-email.me>
@ 2018-05-21 11:12 ` gautier_niouzes
  0 siblings, 0 replies; only message in thread
From: gautier_niouzes @ 2018-05-21 11:12 UTC (permalink / raw)


That's an interesting topic.

Funnily Microsoft is discovering *right now* that GC and heap allocation can be better sometimes replaced by stack allocation:

https://www.infoq.com/news/2018/05/CSharp-7.3

  int* block = stackalloc int[3] { 1, 2, 3 };

which has been already be possible since Pascal in the early 1970's (without initialization). Ada does like that with initialization:

  block: array(1..3) of Integer := (1, 2, 3);

... and further with unconstrained types (bounds not known at compile-time).


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-21 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <pdsql2$pkf$3@dont-email.me>
2018-05-21 11:12 ` What about garbage collection? gautier_niouzes

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