Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>You're sending a reference to an array of unknown size.

The next argument is literally the length of the array.



No, that's what the caller says is the length of the array and as we already established, they're lying. ;)

In all seriousness there is quite a difference in structures that allow themselves to have guarantees built into the language/tooling (like including the size of the array in the languages basic "array" building block) vs. the more manual book-keeping the C code above requires.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: