2 ms·
Object files are compiled code with the API and ABI already baked in. This approach effectively combines the downsides of static and dynamic linking.
by Vogtinator 4y ago
Object files are compiled code with the API and ABI already baked in.
This approach effectively combines the downsides of static and dynamic linking.
- greyw 4y agoIn GNU/Linux, static libraries are precompile object files (.a are nearly indistinguishable from .o files) Obviously it is not the same at all (LTO, inlining etc. Indeed in some cases API and ABI breakage requires you to recompile your program from scratch. This is not differnt from dynamic libraries where ABI breakage is only discovered during runtime. The use case Im talking about tough is your classical 3 bugfix in a library.