3 ms·
You can noalias in zig.
by throwawaymaths 3y ago
You can noalias in zig.
- josephg 3y agoYou can noalias in C as well, but it is used so infrequently in production C code that llvm didn’t even compile it correctly until a couple years ago. Figuring out when parameters in a C program can safely be declared noalias is very tricky, and I’ve almost never seen anyone bother with it. I assume the same is true in zig.
- IceSentry 3y agoThe point is that rust does it automatically
- deleted 3y ago[deleted]
- throwawaymaths 3y agoYou probably only need it in a few places