Re:Win32 is the stable Linux userland ABI (and the consequen...
by mahkoh on Sunday February 27, 2022 @04:15PM
(#30492592)
I suppose you would then statically link all gpu drivers into your graphical application? And whenever a new gpu or a new driver is released, you will recompile your application. In case a new driver drops support for older cards, you would then include multiple versions of the driver in your binary. Naturally your binary will be several hundred megabytes large. An interesting idea. I was not aware that proprietary drivers even allowed this.
Re:Win32 is the stable Linux userland ABI (and the consequen...
by sprash on Sunday February 27, 2022 @04:46PM
(#30492889)
Graphics drivers is one of the rare if not the only pain point with static linking. The reason is that drivers in general should be part of the kernel but GPU drivers are running in userspace. Proprietary blobs, fast evolving hardware and as a result fast changing APIs are to blame.
But on the other hand high level GPU APIs are pretty stable and in general backwards compatible. A program from the year 2000 that only links against OpenGL would still run today (with x86 libs obviously). This means to static link as much as possible still has value.
Re:Win32 is the stable Linux userland ABI (and the consequen...
by calvin_ on Sunday February 27, 2022 @04:07PM
(#30492506)
The deep irony is Windows has achieved its herculean backwards compatibility through dynamic linking.
Re:Win32 is the stable Linux userland ABI (and the consequen...
by taftster on Sunday February 27, 2022 @04:07PM
(#30492502)
You get all the failures of static linking, too. Security in underlying statically compiled libs, for example.
Re:Win32 is the stable Linux userland ABI (and the consequen...
by andai on Sunday February 27, 2022 @05:32PM
(#30493420)
Any distros following this philosophy? Apart from solving the constantly breaking packages problem it sounds like it would also have the fastest installs (at the cost of increased disk usage, though perhaps fs-level (block-level) deduplication could offset this?
Re:Win32 is the stable Linux userland ABI (and the consequen...
by ari__ on Sunday February 27, 2022 @10:53PM
(#30496222)
NixOS is what you're looking for! The Nix package manager can also (theoretically) be used on any distribution to solve this exact problem.
Re:Win32 is the stable Linux userland ABI (and the consequen...
by boondaburrah on Monday February 28, 2022 @03:57AM
(#30497828)
Please no. I'm not made of money and I'm tired of developers treating my disk as free real estate.
Dynamic linking should be completely abolished. This would also solve the "package manger problem" immediately because there will be no dependencies.