3 ms·
Does Linux allow you to run your s390x binary on your ARM system? No. As others have pointed out macOS allowed migration including existing binaries. They ha
by dev_tty01 3y ago
Does Linux allow you to run your s390x binary on your ARM system? No.
As others have pointed out macOS allowed migration including existing binaries. They have done 3 of these migrations. 68k to PowerPC, PowerPC to x86, and x86 to ARM. Each time, users were allowed to bring along existing binaries and keep using them and each time the binaries from the previous system generally ran as fast or faster on the new system. As far as I am aware, Linux has never done anything like this.
- kevin_thibedeau 3y agox64 Linux supports x86 and PE binaries so it sort of does.
- skykooler 3y agoThere are applications for that on Linux (qemu and box64/box86 being the best known), they just aren't installed by default on most distros. A large part of why the binaries ran well on macOS migrations is that each time the migration came with a substantial processor speed increase. This meant that emulated/translated binaries were able to roughly match their previous performance, while native binaries for the new architecture were significantly faster. On Linux, however, the most common reason for cross-architecture tech these days is running x86 binaries on something like a Raspberry Pi, which means a slower processor on top of the translation layer - so non-native apps see a huge drop in performance.
- jwells89 3y agoThere are a few Mac apps out there that support PPC, x86, and ARM all in the same binary. One such app is XLD[0]. [0]: https://tmkk.undo.jp/xld/index_e.html https://tmkk.undo.jp/xld/index_e.html