scope of malloc

Doug Gwyn gwyn at smoke.brl.mil
Thu Nov 15 02:59:27 AEST 1990


In article <650 at metaware.metaware.com> fjb at metaware.UUCP (Fred Bourgeois) writes:
>Our compiler implements alloca() as an intrinsic, and does it correctly.
>... even on the 370 ...

The argument in X3J11 was that in some environments you'd have to pay a
speed penalty in non-alloca() code in order to have full support for alloca(),
a trade-off that few implementors would be willing to make (considering that
the vast majority of commercially important C code makes no use whatever of
alloca()).



More information about the Comp.lang.c mailing list