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

If someone ever has to use your stuff over FFI from a high level language, they will curse you for not just using C strings.


Null terminated C strings are still terrible for FFI. Pointer and length is a better solution and it is trivially interoperable with code that uses, say, string_view.




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

Search: