Remix.run Logo
quotemstr 3 days ago

> 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.

Joel_Mckay 3 days ago | parent [-]

If a stripped static linked library saved that much space, than people probably chose the wrong library resources. Sometimes ripping off unreachable areas also has unintended consequences, but stripping debugging resources is usually safe.

If .so reuse is low, or the code is terrible... it won't matter much. Best of luck =3