Agreed, but now your standard library doesn't have string support, it has byte buffer support. That's no improvement over C, compared to rust.
Agreed, but now your standard library doesn't have string support, it has byte buffer support. That's no improvement over C, compared to rust.
Apart from that, Zig's string processing functions are not that bad, what's unexpected is that they are in the memory-operations part of the standard library, not in a specific "string module" (after all, the Zig compiler is (being) written in Zig, and the parser needs to do a lot of string-munching, so I guess we'll get more powerful string processing helper functions in the standard library over time).
But if I need to do lots of high-level string processing I probably wouldn't chose a systems programming language to begin with, languages like Python are a better match for this.