logoalt Hacker News

ueckertoday at 7:01 AM1 replyview on HN

VLA usage can also be analyzed (e.g. when bounded in a simple way by a function argumen) and then may allow reduced stack usage compared to fixed-size arrays sized for a worst case.


Replies

Asmod4ntoday at 10:17 AM

VLAs aren’t a mandatory part of any c standard and as such there are platforms which haven’t implemented them, such as windows.

show 2 replies