Re:To become a good C programmer (2011)
by xeeeeeeeeeeenu on Friday February 14, 2020 @06:53PM
(#22331661)
It supports most of it. Useless stuff like VLA is still uninmplemented though.
[ Parent
| on HN ]
Re:To become a good C programmer (2011)
by polyphonicist on Saturday February 15, 2020 @03:40AM
(#22334080)
Why is VLA useless?
Why was it added to C99?
Re:To become a good C programmer (2011)
by flohofwoe on Saturday February 15, 2020 @07:10AM
(#22334762)
Because even C isn't free from the occasional misfeature slipping into the standard. VLAs come with a lot of caveats (e.g. available stack size being limited and opaque, no sizeof() support, etc).
VLAs were made optional in C11, so it's better not to use them at all for portable code.