Mohammad Akhlaghi wrote: > if a program doesn't use anything from a library, > what are the downsides (performance maybe?) to link it with that library > anyway?
Startup time of the program is increased. See [1], chapter 1, for the general theory. By how much is it increased? You have to measure by yourself. Bruno [1] https://www.akkadia.org/drepper/dsohowto.pdf