alloca wars

Scott Wilson swilson%thetone at Sun.COM
Thu Aug 4 10:23:27 AEST 1988


Oh gosh, I'm sorry I ever brought up alloca.  The original post
was in response to the portability issue, so let me see if we
agree on this:

1.)  Code that, in general, makes use of features that are less available
     than others is, in general, less portable.

2.)  Alloca is less available than malloc/free.

3.)  Therefore, all other things equal, code that uses alloca is less
     portable than code that doesn't.

Does this make sense?

--
Scott Wilson		arpa: swilson at sun.com		"Why do dogs lick
Sun Microsystems	uucp: ...!sun!swilson		their balls?  Because
Mt. View, CA						they can!"



More information about the Comp.lang.c mailing list