Re:The abysmal state of GNU/Linux and a case against shared ...
by AshamedCaptain on Monday October 14, 2024 @06:24PM
(#41842760)
Sum the GPU driver and the mandatory LLVM requirement that comes with it, and you already have almost half a gigabyte of text per exec. No wonder that your logic forces you to literally dismiss all GUI applications as "extreme statistical outliers" out of hand.
For the record, the 1.1GB executable I'm thinking about is a popular _terminal-only_ simulation package. No GUI.
Re:The abysmal state of GNU/Linux and a case against shared ...
by nightowl_games on Monday October 14, 2024 @07:09PM
(#41843165)
Can't you just tell us what it is?
Re:The abysmal state of GNU/Linux and a case against shared ...
by packetlost on Monday October 14, 2024 @08:26PM
(#41843694)
Most applications do not use CUDA (I assume that's what you're referring to) and the ones that do only need to pull in the runtime (libcudart_static, in this case) which is nowhere near as big. You don't link all of LLVM into a CUDA application lol
Re:The abysmal state of GNU/Linux and a case against shared ...
by AshamedCaptain on Tuesday October 15, 2024 @11:43AM
(#41849741)
For the record any application using shader definitely needs "all of LLVM", and most Gtk+ applications are using shaders due to the ill-conceived notion that GPUs are faster at 2d acceleration. So yes, all GUI apps are linking in all of the graphics driver and all of LLVM.
Re:The abysmal state of GNU/Linux and a case against shared ...
by packetlost on Tuesday October 15, 2024 @12:33PM
(#41850325)
Right, but they don't do so using the default loader, it looks like they likely do it via dlopen or similar runtime dynamic linking. If you compile the binaries statically, it wouldn't effect that.
I did a little math using a common GTK application as an example: nautilus. Using `ldd` and several shell utilities, if you were to statically link it it clocks in at around 80MB in binary size, but that would be worst case without LTO.
FWIW I think graphics stacks are one of the few places where dynamic linking is still highly relevant.
Re:The abysmal state of GNU/Linux and a case against shared ...
by lostmsu on Monday October 14, 2024 @04:53PM
(#41841872)
You mean GPU libraries, right?
Just watch how these become used in every other app over the next few years.
And yes, the fact that you won't use those apps does not make it easier for the rest of us.
The fact of the matter is outside of GPU drivers and poorly designed GUI applications, that's an extreme statistical outlier.