The power of Rust is not that it is "close to the metal" but rather that it is close to the compiler backend. Rust doesn't attempt to make you frame your code in a way that the hardware will execute well, but rather to frame it in a way that the LLVM optimizer will optimize well. This is the correct decision since your C code after all will be processed through that same optimizer before it touches anything resembling metal
@mcc So, Rust is unusable, Got it! Why not just write LLVM IR? Never touched Rust, but the argument you make really makes me never wanna touch Rust, jokes aside. Programming based on hope that your code will magically get optimized is not programming.
@Rylik To me this reply seems very aggressive