[Info-vax] Text processing examples with Fortran requested

Michael Kraemer M.Kraemer at gsi.de
Mon Nov 16 01:22:53 EST 2009


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.

> On machines 
> with small address spaces it can be a life saver.  These days PCs 
> support 4GB of RAM and 12 bit or 16 bit machines are mostly antiques.

This only shifts the problem from 640kB to 4GB,
one never has enough RAM.

> "Pocket" computers may still need to worry about it.




More information about the Info-vax mailing list