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

Fixed-length string types are appropriate for a lot of low-level systems programming and are a lot safer and secure than C's null-terminated (potentially unbounded) strings. Null-terminated strings have caused problems not just for security, but have also added significant performance costs: https://queue.acm.org/detail.cfm?id=2010365


Safer, maybe, but annoying to work with: definitely




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

Search: