logoalt Hacker News

afdbcreid • today at 9:17 PM • 3 replies • view on HN

That's not how it works basically anywhere except in C/C++ apps on Linux.


Replies

cogman10 • today at 9:29 PM

Yes and no.

Yes, in that it's primarily a linux thing as MS has gone the route of saving off basically all dlls for all their OSes for backwards compatibility (though they still backpatch).

No, in that other than Rust and Go (and maybe a few others that emit single binaries, zig?) this is how it works with OS distributed programming language packages. Python, ruby, java, perl, C#, the OS will for all of them control distribute and update the libs independent of the apps that use them.

Also, C/C++ still make up a huge percentage of all apps in pretty much any OS.

gspr • today at 10:09 PM

Well yes exactly, because essentially nothing else has a stable ABI.

Xirdus • today at 9:29 PM

Because only C/C++ apps have stable ABI. Everyone else would love to do it too but they're S.O.L.