C99 doesn't need function bodies: VLAs are Turing complete (lemon.rip) 95 points by fanf2 1y ago ↗ HN
[–] stevefan1999 1y ago ↗ but isn't the evaluation order of VLAs depending on the architecture? not sure if it is relevant tho [–] eska 1y ago ↗ * I couldn't find anywhere in the standard saying whether this evaluation order is well-defined but it is what clang and gcc do, and luckily, it does not matter for the sake of this article, as we will see shortly.*
[–] eska 1y ago ↗ * I couldn't find anywhere in the standard saying whether this evaluation order is well-defined but it is what clang and gcc do, and luckily, it does not matter for the sake of this article, as we will see shortly.*
[–] mmaniac 1y ago ↗ Array parameters are a lie and have always been evil. I'm only more convinced of that now.
4 comments
[ 4.1 ms ] story [ 20.4 ms ] thread