Hacker News new | ask | show | jobs
by disposablezero 3461 days ago
Many implementations historically also allocated enough memory to include one extra element at the end of the array.
1 comments

I find this improbable.
Agreed, compiler implementors rarely decide to use more memory than is required. There may be a stack canary, but this is between stack allocated variables and control flow structures, not for every array.