Blog

The Happy Coder is an indie developer blog written by Bruno Godbout.  Posts are on a variety of topics related to software development and indie developer life.

A Tale Of Two Optimisers

Pro tip from Daniel Jalkut on turning off compiler optimization for debug builds. The short of it is that the Swift compiler has its own separate optimization settings. So to turn off optimization for Swift code, you need to change both the LLVM and Swift Compiler Optimization Levels.

Daniel's article is worth reading for more details and a commendable example of an Apple engineer noticing Daniel's "whining" (his word :-) on Twitter and quickly following up with the solution.