Re:Zig's New Relationship with LLVM
by pjmlp on Tuesday September 29, 2020 @07:38AM
(#24626431)
For the time being, https://github.com/ziglang/zig/issues/2018
[ Parent
| on HN ]
This isn't exactly pointer arithmetic as in C (or in unsafe Zig, as with @intToPtr, or using the "unknown size" pointer type, [*]). This is talking about preserving size information, and only when the arithmetic is compile-time-known; so it's more "array arithmetic".