2 ms·
There have been /many/ attempts. Here's a link to a comment on the sds from redis post (yet another alternative string library) that links to a nice overview of
by mzs 11y ago
There have been /many/ attempts. Here's a link to a comment on the sds from redis post (yet another alternative string library) that links to a nice overview of a number of alternatives:
https://news.ycombinator.com/item?id=7191509 https://news.ycombinator.com/item?id=7191509
I've used Ustr before, all of them have pros and cons depending on what you are needing.
- throwaway000002 11y agoThanks mzs for that great reference to an old HN comment. Appreciated! The volume of string libraries only suggests how crucial core library design, often an afterthought, is to programming language design. The language itself encourages idioms, and it's for the core library to harness these idioms into a robust, cohesive, comprehensive toolbox for common tasks.
- deleted 11y ago[deleted]