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

because C doesn't make types aware, but functions?

https://en.cppreference.com/w/c/string/multibyte



Yes. And the C type system isn't rich enough to represent "do not pass this type of string into this function".




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: