News for hackers. Stuff that matters.
Re:The Sad State of Debug Performance in C++ by SuperV1234 on Monday September 26, 2022 @12:30PM (#32985134)
Just want to remind you that `-Og` in Clang is not representative here, as it's exactly the same as `-O1` -- they implemented support for the flag just to ease transitions between GCC and Clang without having to filter out flags, but it doesn't provide any debugging-specific advantage.
Re:The Sad State of Debug Performance in C++ by not2b on Monday September 26, 2022 @03:43PM (#32987383)
Yes, those who think -Og is no good because they are clang users should perhaps file bug reports or contribute improvements instead.
Re:The Sad State of Debug Performance in C++ by SuperV1234 on Monday September 26, 2022 @03:45PM (#32987417)
Most game developers have to target Windows, and the main compiler there is MSVC. The other viable alternative is `clang-cl`, which doesn't have `-Og` either.

Bug reports have been filed, especially against MSVC, but they have been largely ignored over the years. AFAIK, MSVC is not open-source so improvements cannot be contributed either.