The idea of garbage collection (if the performance hit is reasonable)
is very attractive.
It might be an opportunity for compiler vendors to "blow their
trumpets" and advise the list if their compiler collects garbage and
under what circumstances etc.
Thank you
> Date: Tue, 28 Apr 1998 08:53:20 +0000 (BST)
> Subject: Re: ISO_VARYING_STRING and memory leaks
> From: [log in to unmask] (Malcolm Cohen)
> To: [log in to unmask]
> Reply-to: [log in to unmask] (Malcolm Cohen)
> Phillip Helbig said:
> > If `standard'
> > modules are not constantly kept error-free and bugs fixed as soon as
> > possible, there's not much point in having them.
>
> I agree with your sentiment, but...
>
> The fact of the matter is that the sample code is not what has been
> standardised.
>
> What has been standardised is the interface - any vendor is free to implement
> this module as a non-leaky, high-performance, built-in facility. I see
> nothing in IS-1539-2 which prevents such action.
>
> Unless users are going to demand of their vendors that they support this
> facility (whether as a built-in or by preventing the leaks through automatic
> garbage collection or some other method - yes there are others!), I agree
> that the effort made to standardise this facility would appear to have been
> wasted.
>
> Oh and BTW, I am not aware of any bugs in the IS-1539-2 (varying strings)
> standard as such. And arguably the leakiness of the *SAMPLE* implementation
> (provided for information only, it is not a "normative" part of IS-1539-2)
> is not a bug - after all, it does not leak perceptibly if the Fortran
> processor provides garbage collection.
>
> Cheers,
> --
> ...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
> ([log in to unmask])
>
>
>
Regards,
David.
----------------------------------------------------------
David Vowles
Research Officer
Department of Electrical and Electronic Engineering
The University of Adelaide
Australia 5005
Voice: +61 8 8303 5416
Fax: +61 8 8303 4360
Email: [log in to unmask]
Home Page: http://www.eleceng.adelaide.edu.au/Personal/dvowles/home.html
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|