comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: How (or Where?) to get started on Ada? (Properly)
Date: Wed, 04 Sep 2013 11:46:50 -0700
Date: 2013-09-04T11:46:50-07:00	[thread overview]
Message-ID: <l07v70$vov$1@adenine.netfront.net> (raw)
In-Reply-To: <2e821865-60c7-4056-91b1-165a6e7748ac@googlegroups.com>

On 09/04/2013 09:05 AM, e.s.harney@gmail.com wrote:
>
> How does Ada do these stack-allocations of variable size? Is there any performance downside to it? (e.g. by having to
> relocate things on the stack, or stacks getting huge?)

Ada doesn't do these. Specific implementations (compilers) do them, and may do them in different ways. In general, 
compilers are written by teams of experts who put a lot of effort into optimizing these things.

Ada is about letting software engineers think in the problem space, creating useful abstractions, without worrying about 
such low-level details, which are best left to the compiler. In nearly 30 yrs of using Ada, I have never encountered a 
situation in which low-level concerns had a positive effect on a project. I would recommend you concentrate on how to 
best use packages, since real modules would appear to be something you haven't had much exposure to.

For a real-world example, see "Ada Outperforms Assembly: A Case Study" 
(http://www.seas.gwu.edu/~adagroup/sigada-website/lawlis.html).

Concerning your original question, I second the suggestion of "Ada Distilled".

-- 
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python and the Holy Grail

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

  parent reply	other threads:[~2013-09-04 18:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04  9:14 How (or Where?) to get started on Ada? (Properly) e.s.harney
2013-09-04  9:40 ` Gour
2013-09-04 10:15 ` G.B.
2013-09-04 10:25 ` G.B.
2013-09-04 11:01   ` e.s.harney
2013-09-04 11:22     ` Peter C. Chapin
2013-09-04 12:15     ` Dmitry A. Kazakov
2013-09-04 15:32     ` G.B.
2013-09-04 12:04 ` mockturtle
2013-09-04 12:25 ` Austin Obyrne
2013-09-04 15:00 ` Eryndlia Mavourneen
2013-09-04 16:05 ` e.s.harney
2013-09-04 16:55   ` Dmitry A. Kazakov
2013-09-04 18:46   ` Jeffrey R. Carter [this message]
2013-09-04 20:35     ` Alan Jump
2013-09-05  8:42     ` Jacob Sparre Andersen
2013-09-05 14:34       ` Jeffrey R. Carter
2013-09-04 16:09 ` Dan'l Miller
2013-09-05  0:13   ` e.s.harney
2013-09-05 14:37     ` Mike H
2013-09-10  9:16   ` Maurizio Tomasi
2013-10-03 13:34 ` grodzicky_j
replies disabled

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