Re:Transmission torrent client ported to C++
by josefx on Sunday September 12, 2021 @04:57PM
(#28504855)
Most of that is probably in some symbol table used by the linker. C++ symbols include type names for parameters, C compilers only contain a function name, its linker literally can't tell the difference between a char main[10] and int main(int,char*){} because both are compiled to "main" .
[ Parent
| on HN ]
Re:Transmission torrent client ported to C++
by bregma on Sunday September 12, 2021 @07:14PM
(#28506003)
This is important.
The size of the stripped binaries should be compared. ELF binaries contain both link-time sections and loadable segments, and the longer name of C++ symbols only affects disk space (for both the link-time symbol table and for debug information). The size of the runtime-loadable segments is really the only thing of interest, and stripping the binaries gives you a truer indication of this.