Linux ABI Stability

Comments debate the stability of Linux's kernel ABI, which is intentionally stable by design according to Linus Torvalds' policy, contrasted with unstable userland ABIs and comparisons to other OSes like Windows, BSD, and macOS where stability priorities differ.

➡️ Stable 0.6x Open Source
1,857
Comments
19
Years Active
5
Top Authors
#6089
Topic ID

Activity Over Time

2008
1
2009
18
2010
5
2011
7
2012
47
2013
20
2014
27
2015
57
2016
79
2017
112
2018
95
2019
181
2020
184
2021
184
2022
213
2023
209
2024
161
2025
242
2026
15

Keywords

e.g OK PyWx openbsd.org syscall.h XML ABI i.e GUI LinuxBox abi linux kernel stable linux kernel api compatibility glibc libc stability

Sample Comments

nguoi Dec 13, 2019 View on HN

I thought Linux didn't provide a stable ABI and tells developers to upstream instead? Is this the same topic?

lmm Jan 10, 2020 View on HN

Linux absolutely is especially hostile. Windows will generally try to support existing drivers, even binary-only ones, and give plenty of notice for API changes. FreeBSD has dedicated compatibility with previous ABIs going several versions back. Linux explicitly refuses to offer any kind of stability for its API (i.e. they can and will break APIs even in minor patches), yet alone ABI.

AnIdiotOnTheNet Aug 20, 2018 View on HN

The Linux Kernel ABI is incredibly stable, thanks to Linus, it's only the userland built up around it by other people that doesn't give a damn about compatibility. This isn't a significant issue for other OSs because they have a well defined base system and care about compatibility (because users care about compatibility).

zajio1am Jun 28, 2023 View on HN

Linux have stable kernel ABI, while BSD changes kernel ABI between major versions.

typpilol Sep 30, 2025 View on HN

Linux is not known for its stable ABI lol

10000truths Mar 31, 2022 View on HN

This is by design. Linux doesn't want to pay the maintenance and performance costs of guaranteeing a stable in-kernel API/ABI:https://www.kernel.org/doc/Documentation/process/stable-api-...

bluGill Jul 26, 2023 View on HN

Linux has a stable ABI for user land programs. For drivers the ABI is not stable, but drivers are not sandboxed in linux.

ekidd Aug 18, 2016 View on HN

The Linux libc API changed a couple of times in the 1990s (a.out → ELF, libc5 → libc6, etc), but the Linux kernel ABI (what libc uses to talk to the kernel) has been stable since practically the beginning. Linus detests breaking anything that talks to the kernel and considers it massively unprofessional, to the point that even a terrible API will be set in stone if anything uses it.

p_l Dec 10, 2023 View on HN

Linux kernel userland ABI is stable. Nothing else is on linux.

vlovich123 Oct 27, 2023 View on HN

Except notably Linux where the kernel ABI is the thing that’s stable.