Hi HN, I started developing an experimental project with the goal of running macOS CLI binaries natively on Linux ARM machines. As of now, we have working prototypes for: - 7-Zip: Passes multi-threaded compression tests on an 8k-file tree. Currently ~5.2x slower than native Linux execution, but I already mapped out a clear optimization plan to cut this gap down. - curl: Over 200 commands and options successfully pass our automated Docker test script. - Xcode Tools Git: Basic version control commands (init, add, commit) are up and running, though 100% stability is not yet guaranteed. I would be highly grateful for your constructive criticism, architectural ideas, and feedback! Thank you!
I assume you eventually plan to target binaries that don't already exist on Linux? Where do you think you'll start?
Do you plan on supporting different target versions and implementing similar restrictions to those targets?
eg: older macOS had a writable /usr/ while newer does not without manual effort.
Also, do you plan on having similar cli tools available with similar features ported (maybe from the available Darwin sources?)
eg: can I run a /bin/bash script that expects a macOS environment? Will it get "Darwin" from "uname -o"