[comp.lang.c] C for Scientific Programming

meissner@xyzzy.UUCP (Michael Meissner) (04/26/88)

In article <7672@ncoast.UUCP> btb@ncoast.UUCP (Brad Banko) writes:
| as for dynamic array dimensioning, i think that any experienced C programmer
| would immediately respond that NO other major language (Fortran, Pascal,
| Basic) allows the kinds of dynamic memory allocation that has been 
| available in yesterday's C all along... in malloc() and its relatives.

Ughhh, C, Fortran, Pascal, and Basic are not the only "major" languages,
and other languages support better dynamic memory allocation schemes.
For example, in PL/I and Algol, you can declare automatic arrays whose
size is based on an expression, and when the block is entered, the
compiler will dynamically allocate space for the array on stack.  When
the routine exits, the space automatically goes away.  In APL (and
probably LISP), you can change the size of array bounds dynamically.

Followups to comp.lang.misc!.
-- 
Michael Meissner, Data General.		Uucp: ...!mcnc!rti!xyzzy!meissner
					Arpa/Csnet:  meissner@dg-rtp.DG.COM