Box64 allows running x86_64 binaries on aarch64 systems and it's way faster than qemu. I'm not sure how difficult it would be to add support for it into proot-distro nor if it can be done on proot-distro level at all to be honest, but it'd be a great feature if it worked out. With the little knowledge I have, seeing that you can already choose between blink and qemu gives me a bit of hope that this is relatively doable? box86 also exists and could potentially be handy, but x86_64 is the biggest deal for obvious reasons.
This isn't really a problem for proot-distro to solve.
Either:
A.) You can install Box64/Box86 inside whatever distribution you are using via proot-distro
Though I'm not sure if, or how well, that would work
B.) Or we package them on Termux in which case that still wouldn't allow you to just take an arbitrary rootfs and run it on proot-distro through Box64.
#### From a packaging standpoint;
Box86 was previously packaged
- See: termux/termux-packages#7672
and subsequently disabled for relying heavily on Glibc internals (https://github.com/termux/termux-packages/commit/514cc2aa729f6e33c2d674eeba5c7abbf545bf82)
Box64 has not been packaged so far.
But has an official Termux build target in its upstream CMake file.
- https://github.com/ptitSeb/box64/blob/87493a9bc9eff995680406cb56b792c4c045de95/CMakeLists.txt#L43-L45
So would presumably be fairly easy to package.
Feature description
Box64 allows running x86_64 binaries on aarch64 systems and it's way faster than qemu. I'm not sure how difficult it would be to add support for it into proot-distro nor if it can be done on proot-distro level at all to be honest, but it'd be a great feature if it worked out. With the little knowledge I have, seeing that you can already choose between blink and qemu gives me a bit of hope that this is relatively doable? box86 also exists and could potentially be handy, but x86_64 is the biggest deal for obvious reasons.