Making Mountains out of Molehills

The compiled (and byte-compiled) build models are the hardest to reason about, so let’s investigate what compiling software entails. It’s shocking how few newly trained programmers really understand this, so we’ll start from first principles. If you already know this stuff, feel free to skip ahead.

For a good understanding, it’s best to think about each manual step rather than rely on your IDE to do all the rebuilding work for you. This five-part story of a simple program’s development will explain:

  1. You’re starting a new project, coded in C. It will solve all the ills of the software development world and will usher in a new era of world peace. However all you have at first is a single file containing main. You’ve ...

Get Code Craft now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.