Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Briard__David
Novice
268 Views

Static vs Dynamic linkage

Jump to solution

Hi,

May be a silly question but I am wondering if static linkage include optimization depending of the CPU executing the program (end users with differents CPU), or only optimization for the CPU compiling the program (and so it won't run if end users have a less poweful CPU)?

If the answer is yes, what is the benefist of the dynamic linkage? In my case: static linkage = a signle dll of 50Mb, and dynamic linkage = many dlls for 150Mb total.

Thank you.

 

0 Kudos
1 Solution
Gennady_F_Intel
Moderator
241 Views

+two cents to this topic :

the dynamic libraries could be used by many different applications at the same time independently

and

the expected performance would be the same between statically and dynamically linked versions.


View solution in original post

2 Replies
Briard__David
Novice
264 Views
Gennady_F_Intel
Moderator
242 Views

+two cents to this topic :

the dynamic libraries could be used by many different applications at the same time independently

and

the expected performance would be the same between statically and dynamically linked versions.


View solution in original post

Reply