comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <alejandro@mosteo.com>
Subject: Re: Newbie question -- dereferencing access
Date: Fri, 13 Mar 2009 12:06:52 +0100
Date: 2009-03-13T12:06:52+01:00	[thread overview]
Message-ID: <71ut2oFn4m2pU1@mid.individual.net> (raw)
In-Reply-To: 1IednThMP8E8sCfUnZ2dnUVZ8suWnZ2d@posted.plusnet

Tim Rowe wrote:

> Ed Falis wrote:
>> Try the books on this page: http://www.adaic.org/free/freebook.html
>> 
>> Richard Riehle's "Ada Distilled" may be exactly what you're looking for,
>> as it's aimed at experienced programmers.
> 
> Thanks. I am now working through "Ada Distilled". I'm a little nervous
> that it says "very little about Ada.Finalization, Storage Pool
> Management [...]" -- I hope the "very little" it says is enough for me
> to be able to use access types without memory leaks! I suppose I'll find
> out when I get there.

While these are certainly important skills, one thing you should notice when 
transitioning to Ada is a decreased need for access types thanks to 
unconstrained/indefinite types. I'd think that would mean that you're in the 
right track.

It can depend on your particular application domain, of course.

Anyway, if you have a sound knowledge of memory management in C/C++, it's 
pretty much the same. Don't forget to deallocate, wrap it all in a 
controlled type. Storage pools are quite exotic a need in my experience, 
specially for a newbie (with the possible exception of Gnat.Debug_Pools, and 
for that you only need the very basics).




  reply	other threads:[~2009-03-13 11:06 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 20:26 Newbie question -- dereferencing access Tim Rowe
2009-03-11 20:46 ` Ludovic Brenta
2009-03-12  9:57   ` Tim Rowe
2009-03-12 10:16     ` Ludovic Brenta
2009-03-12 13:24       ` Tim Rowe
2009-03-12 12:13     ` christoph.grein
2009-03-12 13:00       ` Tim Rowe
2009-03-12 13:30       ` Ed Falis
2009-03-13  9:55         ` Tim Rowe
2009-03-13 11:06           ` Alex R. Mosteo [this message]
2009-03-13 16:31             ` Tim Rowe
2009-03-13 16:52               ` Georg Bauhaus
2009-03-13 17:31                 ` Tim Rowe
2009-03-13 18:18                   ` Tim Rowe
2009-03-13 18:27                     ` Pascal Obry
2009-03-13 18:46                     ` Niklas Holsti
2009-03-13 21:38                       ` Tim Rowe
2009-03-13 22:28                         ` Per Sandberg
2009-03-13 16:52               ` Tim Rowe
2009-03-13 17:33               ` Martin
2009-03-14  7:30                 ` sjw
2009-03-14  7:45                   ` sjw
2009-03-14  9:21                   ` Martin
2009-03-23  8:43                     ` Martin
2009-03-16  8:30               ` Alex R. Mosteo
2009-03-13 16:50             ` Tim Rowe
2009-03-13 16:19           ` Martin
2009-03-12 16:43     ` qunying
2009-03-12 18:21     ` Ivan Levashew
2009-03-13  5:59       ` christoph.grein
replies disabled

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