Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Sad State of C Strings (2021) (symas.com)
1 point by synergy20 on July 16, 2024 | hide | past | favorite | 1 comment


It all starts with the basic idea of null terminated *strings* --- which is itself kinda brain dead since they are never anything more (but often less) than an array of bytes.

Conceptually simple but highly problematic and computationally inefficient in many (if not most) use cases.

The solution is here: https://github.com/websnarf/bstrlib




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

Search: