Kernighan shared his thoughts on what he thinks of the world today — with its push away from C to more memory-safe programming languages, its hundreds of distributions of Linux — and with descendants of Unix powering nearly every cellphone.
Sure but you don’t normally run GCC or Clang directly; you make, and that normally does optimise. I think a closer example is CMake which doesn’t enable release mode by default.
MSVC is usually run from Visual Studio which makes it obvious which mode is being used so the default doesn’t matter so much.
As for “all the other compilers”, Go optimises by default. It does seem to be the exception though…
Sure but you don’t normally run GCC or Clang directly; you
make
, and that normally does optimise. I think a closer example is CMake which doesn’t enable release mode by default.MSVC is usually run from Visual Studio which makes it obvious which mode is being used so the default doesn’t matter so much.
As for “all the other compilers”, Go optimises by default. It does seem to be the exception though…