|
|
|
|
|
by littlestymaar
2423 days ago
|
|
> Rust references should in general optimize better because they give stronger aliasing guarantees. AFAIK this does not work atm due to a codegen bug in llvm (which can also affect code using restrict in C in some cases). This bug will get fixed one day, but most likely another bug will be revealed at this point… This part of LLVM was never really used in C as much as in Rust, so they keep finding bugs in it. Hopefully it will get fine in the long run, but I'm not holding my breath. |
|