libpw.a

John Woods john at frog.UUCP
Thu Apr 13 06:18:00 AEST 1989


In article <8184 at chinet.chi.il.us>, les at chinet.chi.il.us (Leslie Mikesell) writes:
> In article <10013 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
> >libPW.a is utterly obsolete (and generally poorly designed and
> >coded).
> 
> Does this mean that programmers shouldn't use alloca() or that a
> well designed and coded version should be put in the standard
> library?
> 
Programmers shouldn't use alloca().  The standard implementation of allocating
a chunk of stack is not applicable to all computer architectures or compilers,
and the non-stack-based implementations require too much conspiracy and
machination to be efficient and worthwhile.
-- 
John Woods, Charles River Data Systems, Framingham MA, (508) 626-1101
...!decvax!frog!john, john at frog.UUCP, ...!mit-eddie!jfw, jfw at eddie.mit.edu
	Healed Head BAD, Bleeding Head GOOD!



More information about the Comp.unix.wizards mailing list