Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Shared Libraries

Name: Anonymous 2011-05-23 10:02

Why are shared libraries so complex and brain dead? I mean, in order to get it working properly you have to sprinkle every one of your functions with __attribute__((visibility(public)) and set the  default visibility to hidden via a compiler switch. That amount of complexity just doesn't seem worth it.

I originally tried to make one my libraries efficiently support shared library builds, but I'm fucking done, after several days of trying to get it to work, the amount of time I've put into this effort, and the amount of time I'm going to have to waste maintaining it is just not going to pay off for me.

Name: Anonymous 2011-05-23 10:32

Someone needs to make a GNU/Linux that uses only static libraries, and just not have X11/X.org due to how bloated it is (which was one of the first major use cases for shared libraries)... use something like Wayland without the X11 emulation module.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List