HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by apaprocki | Hacker News Reader
Parent
Full thread
apaprocki
·
`-Wvla` Friends don’t let friends VLA :)
View on HN
uecker
·
alloca is certainly worse. Worst-case fixed size array on the stack are also worse. If you need variable-sized array on the stack, VLAs are the best alternative. Also many other languages such as Ada have them.
Reply on news.ycombinator.com