News for hackers. Stuff that matters.
Re:C’s Biggest Mistake (2009) by knaq on Sunday September 13, 2020 @01:23AM (#24458597)
The original claim was that the proposal would be C really passing arrays. In the article it says:

"the inability to pass an array to a function as an array, even if it is declared to be an array. C will silently convert the array to be a pointer, and will rewrite the function declaration so it is semantically a pointer"

...and later, referring to the new syntax:

"an array is passed"

In no way is it so. It has nothing to do with passing arrays. It's passing a fat pointer, which is different.

There are no comments on this comment yet.