What to know

  • Incremental layout and reuse of earlier link artifacts have separate documented controls.
  • The README says cache=0 disables reuse even of unchanged output.
  • Debug information alone does not imply the incremental default for optimized or LTO links.

A repeatable comparison of the new Bald linker needs to record both incremental layout and reuse of earlier link artifacts. Its documentation treats those as separate controls. Turning off incremental linking alone does not describe a completely reuse-free run.

Start with the result a build is trying to measure

Kevin Heavey’s December 4 announcement introduces Bald with incremental linking and faster full-link claims. The author also acknowledges that headline performance varies across workloads. This article does not repeat the speed ranking: BijliCoin has not run the benchmarks or checked whether their workloads represent a reader’s build.

The useful question comes earlier. A developer might be timing a repeated unchanged link, a small edit during a debug session or a fresh link with no earlier artifacts. These represent different work. Putting their durations in one column without describing that starting state can make a comparison look precise while leaving its meaning ambiguous.

Layout and prior-link reuse have separate controls

The README at the inspected source revision documents --incremental and --no-incremental for incremental layout. It separately states that --cache=0 prevents reuse from earlier links, including reuse of an unchanged output.

That creates two dimensions for a comparison record. One says how the linker arranges the current link; the other says whether previous work remains available to it. Describing a run as “full” is insufficient if the intended meaning is that it cannot reuse anything from an earlier run. The exact cache setting and the preceding artifact state are part of the experiment.

Optimized builds change the default

The documentation says links containing debug information are incremental by default, with optimized links such as those using -O1 or link-time optimization excluded from that default. A developer cannot infer the active behavior solely from having debug information present. The optimization choices also belong in the recorded build configuration.

For a comparison report, a clear row would identify the source revision, target format, optimization configuration, incremental setting, cache setting and whether earlier artifacts existed. These fields are an interpretation of the documented controls, not a claim that BijliCoin has established a benchmark procedure or tested every combination.

The announcement covers multiple object formats and platforms. A result for one target does not establish correctness or speed for the rest, and a shorter link duration does not show that a produced executable behaves correctly. The immediate benefit of reading the controls carefully is a more answerable performance question: what work was repeated, what work was reused and which output was checked? Those details make later measurements easier to assess without turning an untested new release into a universal recommendation.

Editorial note: AI-assisted research and writing based on the linked primary sources, with independent automated source, content and image checks. The cover is an AI-generated editorial illustration for BijliCoin. BijliCoin is responsible for this article and welcomes corrections through its corrections page. Testing and evidence limitations are stated in the article.

Sources & context

  1. Bald release announcement by Kevin Heavey ↗
  2. Bald README at7083d662e76be5cea1d6508acdab97b856655339 ↗

See our editorial policy or report a correction.

Related guides and definitions

Worth sharing?
Facebook ↗X ↗WhatsApp ↗LinkedIn ↗Telegram ↗Reddit ↗Email ↗

Sign in to like this article or add a comment. Comments are reviewed before appearing publicly.

Comments —