Comment Comment by slashdev No, there shouldn’t be.Rust is not magic and you can compile both with llvm (clang++).If you specify that the pointers don’t alias, and don’t use any language sugar that adds overhead on either side, the performance will be very similar. parent slashdev 2 years ago
Rust is not magic and you can compile both with llvm (clang++).
If you specify that the pointers don’t alias, and don’t use any language sugar that adds overhead on either side, the performance will be very similar.