4 ms·
The Sad State of C Strings (2021)
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- jqpabc123 2y agoIt 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 https://github.com/websnarf/bstrlib