Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De...
by xmorse on Monday June 09, 2025 @02:21AM
(#44221850)
that issue is ridiculous, what did you expect randomly increasing the pointer of an array?
[ Parent
| on HN ]
Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De...
by tatjam on Monday June 09, 2025 @06:13AM
(#44222898)
At the same time, having the access to .ptr be explicit is way better than in C, where the variable you are adding 1 to may or may not be a pointer.
Having the pointer nature of the operation locally explicit is way better than having to scroll back to find the type of the variable.