Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Static vs Dynamic linkage

Briard__David
Novice
401 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
374 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
397 Views
Gennady_F_Intel
Moderator
375 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