Skip to content

FAQ

Frequent questions about builds: how they differ from compile, why determinism matters, and how to make them fast.

Build vs compile?

Compile turns one source file into object code. Build turns the whole project into an artifact. A build includes compiling, but also bundling, testing and packaging.

Why reproducibility?

Because without it, "the code" is not one thing. Two developers with the same commit get two different artifacts, and neither can tell what is running in production.

How to make builds fast?

Cache dependencies, parallelize independent steps, and only rebuild what changed. Most builds spend 80% of their time on 20% of the work.

Is a build a test?

No. A build produces the artifact; tests verify its behaviour. But most build pipelines run tests after building, because a broken build cannot be tested.