Skip Navigation
Ziglang @lemmy.world Metasyntactic @lemmy.world

Three Different Cuts: Rust, Go, Zig

matklad.github.io Three Different Cuts

In this post, we'll look at how Rust, Go, and Zig express the signature of function cut --- the power tool of string manipulation. Cut takes a string and a pattern, and splits the string around the first occurrence of the pattern: cut(

0
0 comments