« first day (4363 days earlier)      last day (584 days later) » 

6:02 AM
posted on September 26, 2022 by Vittorio Romeo

In this article, we’ll explore how C++’s abstraction model heavily relies on compiler optimizations, unveiling some unfortunate examples of unexpected performance loss. Afterwards, we will compare how the three major compilers (GCC, Clang, and MSVC) fare in this area, and we’ll discuss some potential future improvements or workarounds. the sad state of debug performanc

 
 
3 hours later…
8:52 AM
Hello not-nerds
 
 
2 hours later…
10:27 AM
AWD (all wheel drive) is typically a softroader such as a Subaru Forester/Rav 4 etc - a road car that has off road ambitions.
 
@Morwenn don't call me that. I stayed up yesterday waay too late to play with some gcc version from 1998
I earned to be called a not-not-nerd clearly
 
@PeterT Don't forget to call the suicide prevention hotline
@Feeds Nice article, it really highlights some of the elephant in the room issues
I like that it also mentions the overall negative effects on the different parts of the community it has
 
I actually don't remember a time I've had significant issues debugging with mild optimizations turned on. But yeah, the default clearly sucks
I did learn a lot about various optimizations and compiler tricks debugging fully release builds though, so maybe that's why I am not bothered much by slightly optimized builds doing inlining and whatnot
 
Nerd, geek, programmer, developer, coder or hacker, what is the preferred description for those who write/maintain software?
Finally picked up the septic tank today. Will get that sh!t (related) job done (building the septic system) on the farm in the next few weeks ... hopefully. Really hope it doesn't rain as much as the last few months.
 
10:47 AM
@PeterT tbh I love that compilers are turning to optimize some standard functions at the AST level
I'd hate to have to write static_cast<T&&>(value) instead of std::move(value) which conveys the intent much better
Or was that std::forward
Anyway
 
I think both had people using macros instead of the functions themselves
 
Yeah, all libraries that care about compile times and debug performance replaced them with macros
Which is a bit sad
 
"a bit" is a bit of an understatement. Do we need like a cppfront like compiler just to do these mind-numbing transformations?
 
 
2 hours later…
12:53 PM
@Morwenn honestly it's stuff like that which will drive people to rust, because the debug perf of rust is generally "not bad"
 
 
2 hours later…
3:17 PM
 
 
6 hours later…
9:40 PM
@Feeds I feel this one in my bones sometimes
@Mgetz People didn't need that to be driven away :p
Though now we have "successor languages" in the making, so the picture is admittedly different
 

« first day (4363 days earlier)      last day (584 days later) »