tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: alloca again



On Mon, Oct 03, 2022 at 08:45:33AM -0400, Mouse wrote:
> > I'd argue that providing alloca(3) as anything except a compiler
> > builtin is a bug, and that kind of thing should never be used.
> 
> I'd argue that alloca should never be used and actually should never
> have existed.  As far as I can see it does nothing that can't be done
> better - more portably and correctly - by variable-sized arrays.  Am I
> missing something?

I look forward to you fixing every piece of third-party code using it
in the wild. :)


Home | Main Index | Thread Index | Old Index