c++ - why do game engines prefer static libraries over dynamic link libraries -


i've been reading few gaming books. , prefer create engine static library on dynamic link. new c++ not highly knowledge when comes static libraries , dynamic link libraries. know static libraries increase size of program, dll link libraries loaded need them within program.

[edit]

i've played games seemed used dll's load in sound, lighting, , not individually. level loading up. cause don't need when @ game menu.

dynamic link libraries need position independent; can cause performance inefficiencies on processor architectures.

static libraries can optimized when included in program, e.g., stripping dead code. can improve cache performance.


Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -