News for hackers. Stuff that matters.
Re:Clang vs. Clang by SleepyMyroslav on Sunday August 04, 2024 @04:55AM (#41152063)
Fun fact you and GP both right. Goals of 'local' build a programmer does to check what he wrote are at odds with goals of 'build farm' build meant for end user. Former should be optimized to reduce build time and latter optimized to reduce run-time. In gamedev we separate them as different build configurations.
Re:Clang vs. Clang by account42 on Monday August 05, 2024 @09:35AM (#41161256)
Right and if anything, compilers are conservative when it comes the optimizations parameters they enable for release builds (i.e. with -O2/-O3). For most kinds of software even a 10x further increase in compile times could make sense if it meant a couple of percent faster software.