comp.lang.ada
 help / color / mirror / Atom feed
From: Hannes Haug <Hannes.Haug@Student.Uni-Tuebingen.de>
Subject: Re: Q: memory management
Date: 1996/06/25
Date: 1996-06-25T00:00:00+00:00	[thread overview]
Message-ID: <uvvd92ojlgc.fsf@chaq.informatik.uni-tuebingen.de> (raw)
In-Reply-To: 9606192037.AA13484@most


>>>>> "Robert" == Robert Dewar <dewar@cs.nyu.edu> writes:

    Robert> Hannes said "Imagine bignum arithmetic with garbage
    Robert> collection. If I'd have just some bignums there would be
    Robert> too many garbage collections."

    Robert> No, that's not a good example, there still would be no
    Robert> need in Ada to be doing low level untyped allocation.

    Robert> The necessary data structures can be described in Ada, and
    Robert> allocated in a safely typed manner without additional
    Robert> space overhead.

No space overhead if you deal with unconstrained arrays?

I use gmp-2 (the GNU bignum package). Perhaps I'll never look at the
contents of the memory regions form Ada. I need no safely typed Ada
structure.

Does GNAT's allocate call malloc? That would be an additional overhead
of one word (that depends on the malloc, of course) for malloc's header.

 -hannes





  parent reply	other threads:[~1996-06-25  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-19  0:00 Q: memory management W. Wesley Groleau (Wes)
1996-06-20  0:00 ` Hannes Haug
1996-06-20  0:00   ` Robert Dewar
1996-06-20  0:00 ` Hannes Haug
1996-06-21  0:00 ` Hannes Haug
1996-06-21  0:00   ` Robert Dewar
1996-06-25  0:00 ` Hannes Haug [this message]
     [not found] <JSA.96Jun26142033@organon.com>
1996-06-27  0:00 ` Q: Memory management Hannes Haug
1996-06-27  0:00   ` Robert A Duff
1996-06-27  0:00 ` Hannes Haug
  -- strict thread matches above, loose matches on Subject: below --
1996-06-24  0:00 W. Wesley Groleau (Wes)
1996-06-25  0:00 ` Hannes Haug
1996-06-25  0:00   ` Robert A Duff
1996-06-25  0:00   ` Tucker Taft
     [not found]     ` <Dtzv4J.9FL@thomsoft.com>
1996-07-17  0:00       ` Robert Dewar
1996-06-25  0:00 ` Jon S Anthony
1996-06-26  0:00   ` Robert Dewar
1996-06-27  0:00 ` Hannes Haug
1996-06-15  0:00 Q: memory management Hannes Haug
1996-06-15  0:00 ` Jon S Anthony
1996-06-16  0:00   ` Robert Dewar
1996-06-18  0:00   ` Kent Mitchell
1996-06-15  0:00 ` Robert Dewar
1996-06-16  0:00 ` Hannes Haug
1996-06-17  0:00   ` Hannes Haug
1996-06-17  0:00   ` Tucker Taft
1996-06-18  0:00   ` Hannes Haug
1996-06-18  0:00     ` Tucker Taft
1996-06-19  0:00     ` Hannes Haug
1996-06-18  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