News for hackers. Stuff that matters.
Re:The Sad Truth About C++ Copy Elision by gumby on Saturday April 03, 2021 @02:13PM (#26683282)
> And if you want to see exactly what the compiler's doing to with your code use Compiler Explorer.

With real code (with a build system, various includes, and likely your employer's proprietary code you aren't allowed to upload to some web site) it's usually far simpler to simply use -S or --save-temps. Sometimes you can make a toy case or take a sample from your employer's code base and paste it into godbolt.

It's very rare for most users to want to see the assembly code.

Re:The Sad Truth About C++ Copy Elision by secondcoming on Saturday April 03, 2021 @05:20PM (#26684851)
> It's very rare for most users to want to see the assembly code.

Maybe, but if I'm hiring a C++ programmer I'd expect them to want to do this occasionally.