The Compiler as a Decomposed Optimization System

Bilar, Daniyel Yaacov · 2026-02-20 · publication/preprint · cc-by-4.0

Version of record (canonical): https://doi.org/10.5281/zenodo.18715390
Download PDF (Zenodo): open
Sketchnote for the compiler-as-NUM theory note

Sketchnote for the theory note (CC BY 4.0). Full-size PNG.

Abstract

This paper revisits the central claim of Bilar (2007) that the structure of executables is the product of an engineered optimization process. We introduce the Network Utility Maximization (NUM) framework and demonstrate that modern compiler architectures map onto distinct decomposition strategies: AOT pass pipelines as primal decomposition, JIT with profile-guided optimization as dual decomposition, speculative optimization as penalty methods, and link-time optimization as ADMM.

The compiler is treated as a system of interlocked resource-allocating subsystems rather than a monolithic optimizer. The formalism generates testable predictions, taken up empirically in the companion MIR inlining papers.

Keywords

compiler optimization · network utility maximization · distributed optimization · decomposition methods · JIT compilation · profile-guided optimization

← All research