Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_rtld_global_ro
· 7y ago · 0 comments
shared library can be expensive as well, the dynamic symbol lookup could be a lot more expensive than people would assume.
Comments
[–]
notacoward
7y ago
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.