This seems like a pretty nice way to do this, since it lets us produce the sliced version of each value rather than the somewhat janky many pointer.
This looks a lot nicer than its c counterpart, in my opinion.
I suppose the next step will be to translate the C examples into their zig counterparts. This is also good dog food.