Hacker News new | ask | show | jobs
by lowcoderev 1173 days ago
Is that a feature specific to Rust? Can you please share any references to their official docs citing this?
1 comments

It's a feature of optimizing compilers for decades. OP just didn't compile the C++ code with optimizations enabled.