Re:Some Thoughts on Zig
by ArrayBoundCheck on Friday July 22, 2022 @02:51PM
(#32195741)
> The compiler does not work at that level of resolution. It’s unclear that it should
The correct solution is to never ever use rust. It's a failed experiment that noone noticed failed
The compiler does not work at that level of resolution. It’s unclear that it should, even for a point query: there is no telling how much a weirdo ISA would bungle that if the two accesses came from different threads, for instance.
> This is the situation where those two rules are a bit too strict and reject a valid program.
Compilers will always, necessarily, reject valid programs. The alternative is to allow invalid programs.