News for hackers. Stuff that matters.
Re:The C standard library function atexit is broken by _rtld_global_ro on Thursday June 20, 2019 @10:32AM (#20233278)
shared library can be expensive as well, the dynamic symbol lookup could be a lot more expensive than people would assume.
Re:The C standard library function atexit is broken by notacoward on Thursday June 20, 2019 @08:07PM (#20238721)
Correct. Shared libraries trade away CPU for memory. Even with some benefits in terms of cache warmth, the extra indirection and loader/VM complexity make shared libraries a net loss in terms of CPU.