The open‑source project Kakehashi provides a userspace translation layer that enables macOS ARM64 binaries to execute on Linux aarch64 systems.
The open‑source project Kakehashi provides a userspace translation layer that enables macOS ARM64 binaries to execute on Linux aarch64 systems. The tool maps Darwin Mach‑O files onto Linux, embeds a freestanding libSystem, translates BSD system calls, and runs guest programs such as clang, 7‑Zip and curl without a just‑in‑time compiler. Execution can occur on bare‑metal Linux aarch64, in virtual machines, or via Colima and Docker. Installation requires a Rust 1.88+ toolchain; users run `cargo install kakehashi` or install from source, then use `kh bottle ensure` and `kh install` commands to add binaries like 7‑Zip and curl. The `kh run` command executes guest binaries, and options allow archiving with 7‑Zip, downloading with curl, and other operations. Performance measurements show that on Ubuntu aarch64 bare‑metal, a multi‑file 7‑Zip compression task runs about five times slower than native Linux 7‑Zip, though compression‑heavy workloads with fewer files exhibit a smaller slowdown. Because Linux aarch64 hosted runners cost roughly ten to twelve times less per minute than macOS runners, the slower execution can still reduce overall CI costs. The project is licensed under Apache 2.0, does not depend on Darling or proprietary Apple SDKs, and is maintained as a community effort.
- Publisher
- Hacker News
- Reliability
- high
- Published
- 8/3/2026, 10:00:27 AM
- Retrieved
- 8/3/2026, 10:00:27 AM
- Relevance
- 80%
- Confidence
- 85%

