Re:“Shared libraries are not a good thing in general”
by ClumsyPilot on Sunday May 02, 2021 @07:09AM
(#27014121)
"It's a side effect of abstraction."
We have an entire language-on-top-of-a-language in C++ pre-processor, but we could not figure out something to specify to the compiler what we want in an ABI?
I think an abstraction is when a tool takes care of something for you, this situation is just neglect.
The best binary interface I know is the Linux kernel system call interface. It is stable and clearly documented. It's so good I think compilers should add support for the calling convention. I wish every single library was like this.
https://man7.org/linux/man-pages/man2/syscall.2.html