Re:Grids in Rust, Part 2: const generics
by jessa0 on Saturday April 03, 2021 @10:12PM
(#26686383)
Ok, turns out I was mixing up "flexible array member" with "variable-length array". Slices can be used on the stack like a VLA as well, though, with the unstable "unsized_locals" feature. This feature is controversial, however, because of the risk of unintentional stack blowup..
[ Parent
| on HN ]
There are no comments on this comment yet.