Static linking vs dynamic linking

后端 未结 17 1975
半阙折子戏
半阙折子戏 2020-11-22 07:40

Are there any compelling performance reasons to choose static linking over dynamic linking or vice versa in certain situations? I\'ve heard or read the following, but I don\

17条回答
  •  伪装坚强ぢ
    2020-11-22 07:49

    I agree with the points dnmckee mentions, plus:

    • Statically linked applications might be easier to deploy, since there are fewer or no additional file dependencies (.dll / .so) that might cause problems when they're missing or installed in the wrong place.

提交回复
热议问题