3 ms·
I'm not sure how linking (as part of compiling) works. I thought how it worked was by copying the compliled thing from other files into the same executable. Is
by drdeca 11y ago
I'm not sure how linking (as part of compiling) works. I thought how it worked was by copying the compliled thing from other files into the same executable. Is this not the case?
- lmm 11y agoOld-school static linking works like that. Dynamic linking no, though I guess you could argue it's copied in memory at runtime. But even if there's copying going on at the implementation level, it's an important conceptual distinction to make.