News for hackers. Stuff that matters.
Re:Should small Rust structs be passed by-copy or by-borrow? by 0xffff2 on Monday August 26, 2019 @04:19PM (#20803333)
You're absolutely right. It's not even just optimization. If you exercise your C++ compiler hard enough, you will find bugs. You have to know what the compiler is doing.

I have the misfortune of working somewhere where I generally have to use older versions of compilers for production. I've found two compiler bugs just in the last two years since I started my current project. I'm usually the last person to blame the compiler, but in this case I can be pretty confident because the bugs I found were fixed in later versions of the compiler.

There are no comments on this comment yet.