comp.lang.ada
 help / color / mirror / Atom feed
From: Jonas Nygren <jonas@joy.ericsson.se>
Subject: Re: C to Ada : a piece of code
Date: 1996/09/11
Date: 1996-09-11T00:00:00+00:00	[thread overview]
Message-ID: <32372F42.19CB@joy.ericsson.se> (raw)
In-Reply-To: dewar.842440450@schonberg


Robert Dewar wrote:
> 
> iGeert said, regarding virtual origins
> 
> "Please, don't do this! It is possible, but certainly not perfect!  If
> applications are long-lived and they dynamically allocate memory at a
> certain rate, garbage collection is necessary for keeping the language
> safe.
> 
> Since Ada-compilers do not provide garbage collection (sad, but still
> true), users depend on being able to add a conservative garbage
> collector.  Conservative garbage collectors depend on pointers to
> objects be stored in a fixed format. Having virtual origins breaks all
> conservative garbage collectors and makes it almost impossible for a
> third party to add garbage collection to the compiler."
> 
> Nothing to worry about, obviously the use of virtual origins is only
> possible with fat pointers. So just use thin pointers for your garbage
> collected environment.

What is the Ada syntax for fat pointers versus thin pointers?
(by now many of you know I am an Ada novice, but I have never 
encountered thin/fat pointers in the RM vocabulary, so I just want
to educate myself).

/jonas




  reply	other threads:[~1996-09-11  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-07  0:00 C to Ada : a piece of code Grave Xavier
1996-09-07  0:00 ` David C. Hoos, Sr.
1996-09-07  0:00 ` Robert A Duff
1996-09-08  0:00 ` Jon S Anthony
1996-09-08  0:00   ` David C. Hoos, Sr.
1996-09-09  0:00     ` nasser
1996-09-09  0:00   ` Jon S Anthony
1996-09-09  0:00     ` David C. Hoos, Sr.
1996-09-09  0:00       ` Robert Dewar
1996-09-10  0:00         ` Geert Bosch
1996-09-11  0:00           ` Robert Dewar
1996-09-11  0:00             ` Jonas Nygren [this message]
1996-09-13  0:00             ` Geert Bosch
1996-09-14  0:00               ` Robert Dewar
1996-09-11  0:00           ` Robert Dewar
1996-09-13  0:00             ` Geert Bosch
1996-09-14  0:00               ` Robert Dewar
1996-09-09  0:00       ` John G. Volan
1996-09-10  0:00 ` Jon S Anthony
replies disabled

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