Re:Clang vs. Clang
by pertymcpert on Sunday August 04, 2024 @02:09AM
(#41151433)
You would be very wrong on that last point.
[ Parent
| on HN ]
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.
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.