From: Martin Krischik <martin@krischik.com>
Subject: Re: "new" word
Date: Fri, 18 Mar 2005 15:05:22 +0100
Date: 2005-03-18T15:05:22+01:00 [thread overview]
Message-ID: <1840677.uLaM3hpJCY@linux1.krischik.com> (raw)
In-Reply-To: 9rzktz7tBSP0@eisner.encompasserve.org
Larry Kilgallen wrote:
> In article <39v2kqF636c21U1@individual.net>, Wes Groleau
> <groleau+news@freeshell.org> writes:
>> Robert A Duff wrote:
>>> For efficiency, an Ada implementation is likely to have it's own
>>> allocator internally, and only call malloc (or something)
>>> once in a while.
>>
>> This assumes (1) that the Ada vendor's allocation code is efficient,
>> and/or (2) that the platform's malloc is not.
>
> I don't know malloc, but on VMS the underlying allocation interfaces
> provide a rich variety of semantics that are just what Ada would need
> (in my opinion) for implementing storage pools, etc.
Same for Windows or OS/2.
> I find it hard
> to believe the same versatility would be available from a common C
> runtime library routine, but I am biased.
However, there was a discussion about the Unix and Linux services for memory
allocation - at that was very primitive indeed. No comparison to the
sophisticated memory services of the DOS world. And for Linux/Unix I can
see that using malloc is the better option. Besides: it makes Interfaces.C
much easier.
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
next prev parent reply other threads:[~2005-03-18 14:05 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 9:56 "new" word fabio de francesco
2005-03-16 10:30 ` Vinzent 'Gadget' Hoefler
2005-03-16 11:14 ` Adrian Knoth
2005-03-16 11:42 ` Vinzent 'Gadget' Hoefler
2005-03-16 12:09 ` Thomas Lotze
2005-03-16 13:17 ` fabio de francesco
2005-03-16 13:25 ` Vinzent 'Gadget' Hoefler
2005-03-16 13:40 ` fabio de francesco
2005-03-16 14:34 ` Vinzent 'Gadget' Hoefler
2005-03-16 13:01 ` fabio de francesco
2005-03-17 15:09 ` Lutz Donnerhacke
2005-03-16 13:49 ` Larry Kilgallen
2005-03-16 13:55 ` Florian Weimer
2005-03-17 14:38 ` Lutz Donnerhacke
2005-03-16 16:23 ` Robert A Duff
2005-03-16 11:07 ` Adrien Plisson
2005-03-16 11:36 ` Larry Kilgallen
2005-03-16 12:53 ` fabio de francesco
2005-03-16 13:10 ` Vinzent 'Gadget' Hoefler
2005-03-16 16:20 ` Robert A Duff
2005-03-18 4:10 ` Wes Groleau
2005-03-18 12:04 ` Larry Kilgallen
2005-03-18 14:05 ` Martin Krischik [this message]
2005-03-16 22:12 ` Randy Brukardt
2005-03-18 4:03 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox