Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Static vs Dynamic linkage

Briard__David
Novice
1,391 Views

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
1,364 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
Gennady_F_Intel
Moderator
1,365 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.


Reply