Hacker News new | past | comments | ask | show | jobs | submit login

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




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: