Kakehashi is an experimental userspace translation layer designed to enable the execution of macOS ARM64 (Darwin Mach-O) binaries on Linux aarch64 systems. This project focuses on a command-line interface (CLI-first) approach and does not utilize Just-In-Time (JIT) compilation for its translation process.
The system works by loading Darwin Mach-O binaries on Linux aarch64, mapping a freestanding libSystem, and translating BSD syscalls. This allows real guest applications, such as clang probes, 7-Zip (7zz), and curl, to run. It has been verified to function within Docker/Colima and UTM environments on Linux aarch64.
Users can install Kakehashi via `cargo install kakehashi` or by building from a checkout. Once installed, commands like `kh bottle ensure` and `kh install 7zip` can be used to set up and install macOS binaries. The `kh run` command executes the translated binaries, with examples provided for 7-Zip operations like archiving, testing, and extracting, as well as curl commands for HTTP/HTTPS requests.
Kakehashi handles file paths by resolving relative output and archive paths against the host's current working directory. It also bridges `/Volumes/linux/` within the bottle to the host's root directory. Docker helper scripts are available to facilitate running and testing applications like 7-Zip and curl within Docker containers, with artifacts output to a specified host directory.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Kakehashi is an experimental userspace translation layer that allows macOS ARM64 binaries to run on Linux aarch64 systems without JIT compilation. This tool provides a way to execute Darwin Mach-O executables, including command-line utilities like 7-Zip and curl, on Linux ARM environments.