▲ | Joel_Mckay 3 days ago | |||||||
An 8kB program loads and runs much faster if the .so it uses is already cached due to prior use. A 34MB static built version will cost that amount of i/o every single instance on a system that did not cache that specific program previously. Also it will take up that full amount of ram while loaded every single time it runs. Inefficient design, but works fine for other less performant OS =3 | ||||||||
▲ | quotemstr 3 days ago | parent [-] | |||||||
> 34MB static built version I've forgotten how to count that low. Also, static programs are demand paged like anything else. Files aren't loaded as monoliths in either case. Plus, static linking enables better dead code elimination and devirtualization than is possible with an AOT-compiled and dynamically linked setup, which usually more than makes up for the text segments of shared dependencies having been pre-loaded. I'm not sure you have enough technical depth to make confident assertions about linking and loading performance. > =3 The "blowing smoke" emoticon isn't helping your argument. | ||||||||
|