Menu

GitHub - wie-project/kakehashi: Userspace macOS translation layer for Linux ARM64
πŸ“°

GitHub - wie-project/kakehashi: Userspace macOS translation layer for Linux ARM64

Hacker NewsΒ·4 months ago
#kZmvLktF
#github#curl#docker#linux#scripts
Reading 0:00
15s threshold

Userspace macOS ARM64 β†’ Linux aarch64 translation layer (CLI-first, no JIT).

Load Darwin Mach-O on Linux aarch64, map a freestanding libSystem , translate BSD syscalls, and run real guests (clang probes, 7-Zip 7zz , curl , threads).

Live execution Linux aarch64 (bare metal, VM, Colima/Docker)

Dry-load / inspect Any host (including macOS)

Design reference docs/

What works

Verified on Docker/Colima and UTM (Linux aarch64). Install once:

<div dir="auto" data-snippet-clipboard-copy-content="cargo install kakehashi # or from a checkout: cargo install --path crates/kh-cli --force

kh bottle ensure kh install 7zip # Darwin 7zz β†’ guest /usr/local/bin/7zz kh install curl # Darwin curl β†’ guest /usr/local/bin/curl"> cargo install kakehashi # or from a checkout: cargo install --path crates/kh-cli --force

kh bottle ensure kh install 7zip # Darwin 7zz β†’ guest /usr/local/bin/7zz kh install curl # Darwin curl β†’ guest /usr/local/bin/curl

Relative -o / archive paths resolve against the host CWD of the kh process…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.