zlacker

[return to "The state of binary compatibility on Linux and how to address it"]
1. inftec+OT[view] [source] 2025-04-02 10:47:32
>>generi+(OP)
I think the problem is that people treat Linux as OS instead of just a kernel.

You should assume every Linux distro is a different OS so when you are shipping your app for Linux you're actually shipping your app for Debian, Fedora, Ubuntu etc

◧◩
2. rollca+DX[view] [source] 2025-04-02 11:36:50
>>inftec+OT
That's the sane way to tackle it. If you're the vendor, just target the top N (whatever value of N you can cope with).

I don't mean disrespect towards people running Alpine (hi), Arch, or Gentoo, but you wouldn't be running these distros if you aren't ready to handle their quirks.

TFA mostly talks about binary compat. Even if you can get away with statically linking everything, you still have to cope with the mess that is userspace fragmentation: <https://tailscale.com/blog/sisyphean-dns-client-linux>

So yeah, supporting the top N gets you approximately sqrt(N/(N+1))% of the way. (Assuming desktop Linux market share is about 1%.)

[go to top]