[Info-vax] Text processing examples with Fortran requested

Richard B. Gilbert rgilbert88 at comcast.net
Mon Nov 16 08:47:57 EST 2009


Michael Kraemer wrote:
> Richard B. Gilbert schrieb:
> 
>> It doesn't dynamically allocate anything at all.  At least it didn't 
>> the last time I used Fortran. 
> 
> I know, but in text processing it may bite you first.
> 
>> Dynamic memory allocation is a "C" thing. 
> 
> It's not a C only thing.
> 
>> IMHO it's a useless hangover on a virtual memory system. 
> 
> Huh? You need memory allocation just everywhere.
> Just think of avoiding buffer overflows by always
> providing buffers of the right length.
> 

In Fortran you learned to live without dynamic memory allocation!  It 
may be available in Fortran *now* but back in 1969--1994 memory 
allocation in Fortran was static.  For most of that period, your input 
was via 80 column punched cards.

I got my first VAX in 1984 and after that I didn't use punched cards 
that much.  1994 was about the time I last did any serious programming 
in Fortran; my employers didn't use it so it wasn't available  to me.



More information about the Info-vax mailing list