Comment

Comment by konstantinua00

...what are you talking about?

array-like storage with dynamic size has existed since forever - it's vector. over or undercommitting is a solved problem

VLA is the way to bring that into type system, so that it can be it's own variable or struct member, with compiler auto-magic-ing size reading to access members after it

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton