FreeBSD with Linux binary compatibility? Anyone?
I think I played with it very briefly (as in for less than a day) just to see what FreeBSD feels like nowadays a few years ago, but not truly used it.
AMD64/x86-only?
No, the
the handbook says
x86, x86-64, and Aarch64 are supported. The
FreeBSD Wiki doesn't mention supported arches.
As you can get basically the same userspace tooling in FreeBSD as in Linux, I wouldn't bother, though –– except for closed-source binaries. Just like Wine, I'd only use such compatibility layers to run closed-source stuff that cannot be properly ported. You can see a list of tested applications and their status at the FreeBSD Wiki
LinuxApps page.
If we compare to say Windows WSL2, my opinion stands: if you want to do development in Linux, better use either native or virtualized real Linux environment (I recommend Debian and Debian derivatives like Mint), than deal with the corner cases where the compatibility layers aren't perfect. For just running stuff, these compat layers are fine, as long as one remembers that if something bugs out, it is most likely the compatibility layer. And my opinion is definitely symmetric on this: I wouldn't want to try developing Windows code in Wine, either –– well, maybe for the simplest things, but definitely would need to test on proper Windows versions, perhaps in virtual machines. Exact same applies to Linuxulator and Wine, IMO.
FreeBSD does support virtualization just fine (even on Aarch64), as long as the hardware supports it.
For non-native
emulation, I do warmly recommend
QEMU. It isn't perfect either, but it is darn good. For example, you could use QEMU to run x86/x86-64 binaries on Aarch64 in an emulated environment, for example.