1. 9

Motivated by a recent rant from Linus Torvalds on shared objects’ performance issues and a previous post about CPython 1.3x speedup with -fno-semantic-interposition, I have recently filed some GCC/binutils feature requests. With these resolved, I believe the performance of our shared object oriented world will be no slower than one with mostly statically linked executables.

https://maskray.me/blog/2021-05-16-elf-interposition-and-bsymbolic#the-last-alliance-of-elf-and-men lists the required GCC/linker features. The previous chapters cover the technical details.