Shared libraries
Shared libraries
Posted Nov 27, 2025 13:04 UTC (Thu) by farnz (subscriber, #17727)In reply to: Shared libraries by bluca
Parent article: APT Rust requirement raises questions
This is measured on an Alliance eMMC device. Taking the same C program, and statically linking it, makes it faster to load than dynamically linking it, on the same processor.
I have no idea why you think that loading from eMMC (which is needed in the dynamically linked case, too, because the relocations have already been unshared, and the original data has to be reloaded), then doing the relocations, then doing more loading, is faster than just loading.
