From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Flexible Strings (was Equality operator...)
Date: 1997/05/07
Date: 1997-05-07T00:00:00+00:00 [thread overview]
Message-ID: <E9tK29.E51@world.std.com> (raw)
In-Reply-To: 53F35740C6EF076C.14BEEF8227919F71.39E2B6FED1F30314@library-proxy.airnews.net
In article <53F35740C6EF076C.14BEEF8227919F71.39E2B6FED1F30314@library-proxy.airnews.net>,
Kevin Cline <clines@delete_this.airmail.net> wrote:
>I was a member of ANSI X3H3 (PHIGS) for two years. I read the Ada'83 standard
>cover to cover. I've read most of the C++ DWP. Perhaps there is not a lot of
>difference in theory between Ada and C storage management, but there is a huge
>practical difference. In C or C++, the application programmer can take
>complete control of the allocation process in a couple of ways. In C++, new
>and delete can be redefined globally or on a class-by-class basis.
>Additionally, the compiler vendor's implementation of malloc and free can be
>replaced with one more carefully tuned to the particular application.
>Although not mandated by the standard, almost all C compilers do link malloc
>and free from their run-time library, and replacement implementations can be
>linked instead. Few Ada compilation systems are so open.
What you say may be true of Ada 83, but Ada 95 allows user-defined
storage pools. You can use whatever allocation strategy you like. This
is a required feature of all Ada compilers. It much more flexible than
globally replacing malloc, because you get control on a per-access-type
basis.
- Bob
next prev parent reply other threads:[~1997-05-07 0:00 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-30 0:00 Flexible Strings (was Equality operator...) W. Wesley Groleau (Wes)
1997-04-30 0:00 ` Matthew Heaney
1997-05-01 0:00 ` Robert Dewar
1997-05-02 0:00 ` Kevin Cline
1997-05-03 0:00 ` Robert Dewar
1997-05-04 0:00 ` Kevin Cline
1997-05-04 0:00 ` Robert Dewar
1997-05-06 0:00 ` Kaz Kylheku
1997-05-07 0:00 ` Kevin Cline
1997-05-07 0:00 ` Robert Dewar
1997-05-07 0:00 ` Jon S Anthony
1997-05-07 0:00 ` Matthew Heaney
1997-05-07 0:00 ` Jon S Anthony
1997-05-07 0:00 ` Robert A Duff [this message]
1997-05-07 0:00 ` Robert Dewar
1997-05-07 0:00 ` Robert A Duff
1997-05-07 0:00 ` Robert Dewar
1997-05-08 0:00 ` Robert I. Eachus
1997-05-07 0:00 ` Robert Dewar
1997-05-09 0:00 ` Erik Magnuson
1997-05-10 0:00 ` John G. Volan
1997-05-10 0:00 ` Robert Dewar
1997-05-10 0:00 ` Matthew Heaney
1997-05-11 0:00 ` Robert Dewar
1997-05-12 0:00 ` Erik Magnuson
1997-05-10 0:00 ` Robert Dewar
1997-05-10 0:00 ` Matthew Heaney
1997-05-03 0:00 ` Jon S Anthony
[not found] <199705010554.WAA24507@ni1.ni.net>
1997-05-01 0:00 ` W. Wesley Groleau (Wes)
1997-05-02 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox