Re:How to make smaller C and C++ binaries
by kwant_kiddo on Sunday May 07, 2023 @06:01PM
(#35856037)
Even just between x86 and ARM there can be a big enough difference in performance s.t your product straight up does not work on one platform, and that is with the current gcc toolchain.
I have been working with small embedded devices so this may be an outlier here compared to the rest of the C/C++ world.
What are your targets? This was my experience 10 years ago, but today with modern (last 5-6 years) MSVC, GCC and Clang (and even on modern Xbox and Playstation toolchains) my experience has been that it's close enough.