Consistent Hermetic Tooling with Actually Portable Executables
summary
Explains that Actually Portable Executables (APE) are single “fat” binaries containing x86_64 and aarch64 code that run on Windows, Linux, macOS and BSDs, and that the @ape Bazel module supplies wrappers/launchers to hermetically provide cp, mv, sed, awk, curl and Python without toolchain setup. Describes use of the Cosmopolitan C library and PKZip-packed data files inside the binary, the superconfigure build for common Unix tools, an ape_toolchain macro to register platform-specific tools, and exporting prebuilt Zstandard-compressed tarballs for repository rules.
AI-written summary · about
chapters (6)
- 0:00The challenges of hermeticity
- 1:25Introducing the ape module
- 2:19How ape binaries function
- 3:49Superconfigure and availability
- 4:57Toolchain integration
- 5:30Using ape in repository rules
related talks
01h 03mApplied Best Practices
16mHermetic builds with Bazel
10mNative Parity for Development & Testing of SOAFEE Software-Defined Vehicle
19mHomogeneous builds with OBuilder and OCaml
32mBuilding Once, Running Everywhere: The Future of Portable AI Applications
57mExternal Pre-built Binary Toolchains
40mImproving UAPI Compatibility Review with Automated Tooling
18mBuilding an ACP-Compatible Agent Live
