by PartiallyTyped · 5y ago · 0 comments
Albeit old http://www.youtube.com/watch?v=MShbP3OpASA&t=20m45s
It remains true.
Rust uses references all over the place and reuses the same memory addresses within stack that once belonged to another object because the compiler can guarantee it, but that makes it much less reasonable to write.
If you can reason with -O0 you can take it that your code will remain correct in later levels.
> If you can reason with -O0 you can take it that your code will remain correct in later levels.
Unless you happen to be a Jedi master in UB performance optimizations, auto-vectorization, OMP, out of line code execution, I very much doubt that.