3 ms·
Macos ships with some interpreters pre-installed as part of BigSur, including Ruby, Python and Perl. And most source distributions should just compile, but my g
by alwillis 6y ago
Macos ships with some interpreters pre-installed as part of BigSur, including Ruby, Python and Perl. And most source distributions should just compile, but my guess is that it will be buggy given the arch + os combination is novel.
Everything at the Unix level Apple ships is already a universal binary, including Ruby, Python, etc. For example, zsh (and bash) run natively on the M1:
file /bin/zsh
/bin/zsh: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit
executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/bin/zsh (for architecture x86_64): Mach-O 64-bit executable x86_64
/bin/zsh (for architecture arm64e): Mach-O 64-bit executable arm64e