comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: What about garbage collection?
Date: Mon, 21 May 2018 04:12:38 -0700 (PDT)
Date: 2018-05-21T04:12:38-07:00	[thread overview]
Message-ID: <ed62667d-c337-4e1f-8b1f-6422ce7c9005@googlegroups.com> (raw)
In-Reply-To: <pdsql2$pkf$3@dont-email.me>

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).


           reply	other threads:[~2018-05-21 11:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <pdsql2$pkf$3@dont-email.me>]
replies disabled

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