Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: Intermediate
Jul 31, 2001



Building the Right Environment to Support AI, Machine Learning and Deep Learning

To DLL or not to DLL?

Many Windows programmers use DLLs abundantly. Although dynamic linking certainly offers some advantages, it can also cause noticeable maintenance and performance setbacks. For starters, DLLs are slower than statically linked libraries. Their slowness results from the inherent complexities of locating the address of a function or a data structure at runtime. In addition, the use of DLLs may cause incompatibility problems: one machine may use an outdated version of a DLL while another machine uses the newer DLL version. Therefore, before you decide whether to use DLLs in an application you should consider all these factors. In some cases, it is likely that a statically linked executable may better serve both your and your clients.
Danny Kalev
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date