Skip to content

dk1 Reference Implementation

dk1 is the multi-threaded implementation of the dk build system. It runs the build with a worker pool so that independent external steps (compilers, subcommands, spawned tools) execute concurrently, capped by a -j / --jobs job count.

dk1 shares the exact command-line dispatch, commands, options, build engine, and consumer trust model of the single-threaded reference implementation dk0, so a producer key refused by dk0 is refused as well, it refuses a release whose engine version floor is above the running engine exactly as dk0 does, and it loads each asset index once per command and reuses it the way dk0 does. This document only describes what is different in dk1. For everything else - the invocation form, every command, and every option other than -j - see the dk0 Reference. For the implementation-agnostic build model (projects, assets, bundles, forms, objects, values, subshells, distributions and scripts) see the Specification.