Rare to see VLAs described as "one of the coolest features of C".
uecker•6mo ago
Note that this is about pointers to variably length arrays, and not a VLA on the stack. But both are cool features. Bounds checking would be further ahead, if VLAs did not get a bad reputation from poor compilers that did not do stack probing.
rramadass•7mo ago
References:
GCC: https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/Instrumentation...
Clang: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html