News for hackers. Stuff that matters.
Re:To Save C, We Must Save ABI by flohofwoe on Tuesday August 11, 2026 @11:53AM (#49260230)
It's useful for closed-source developers who want to sell their libraries as precompiled binary blobs for static linking, but as soon as MSVC is involved that idea of "one library for different compilers" is out the window anyway ;)

For areas like application plugins via DLLs it's the OS ABI that matters.

Re:To Save C, We Must Save ABI by uecker on Tuesday August 11, 2026 @01:49PM (#49261891)
It is also relevant for dynamic linking on all Linux binary distributions.
Re:To Save C, We Must Save ABI by flohofwoe on Wednesday August 12, 2026 @02:43AM (#49268643)
Hmm yeah ok, because Linux distros and glibc apparently never cared about defining a proper system ABI outside of 'whatever gcc happens to do'.
Re:To Save C, We Must Save ABI by uecker on Saturday August 15, 2026 @04:23AM (#49308806)
I don't understand this comment. There are well-defined ABIs for many platforms. Sometimes there is a defacto ABI defined by the first compiler supporting this platform, but generally there ABI groups that agree on a common ABI for each architecture. This then allows code compiled by different compiler to be linked against common libraries - not just glibc. I can compile my projects with either clang, gcc, or some other compiler and link statically or dynamically against all the same libraries distributed by my distribution regardless of which compiler was used to compile them. This is extremely useful.