Re:Relibc: C Library in Rust for Redox and Linux
by pjmlp on Friday March 09, 2018 @04:24AM
(#16550638)
I find it ironic that young generations only used to GNU/Linux glibc dynamic linking, find static linking something out of the ordinary.
Like you say, it was how everyone deployed software.
Re:Relibc: C Library in Rust for Redox and Linux
by zaarn on Friday March 09, 2018 @04:45AM
(#16550729)
I count myself as the young generation (21), static linking is out of the ordinary since it is rarely done for software I run (outside my Rust and Go development).
But I still think it's how software should be deployed, it should be the norm.
I blame developing in Go.
Of course nowadays you also use it to quickly patch security holes in applications without having to relink them.
IMO the proper way would be to simply relink the binary with patched libraries as default and only use dynamic linking where it's necessary.
Statically linked binaries work far better in my experience, I can run (some) go programs on ancient 2.3 linux kernels (last i tested atleast) without complaint but any modern Firefox will likely refuse since the libraries in that specific distro are ancient af.