Re:Some analysis of the 1M most popular sites on the web
by pradn on Friday July 24, 2015 @01:52PM
(#9943852)
Can you please elaborate how using share libraries is "pretty much pointless and incurs a performance penalty"? That goes against my intuition of how they work.
[ Parent
| on HN ]
Re:Some analysis of the 1M most popular sites on the web
by bcg1 on Friday July 24, 2015 @02:26PM
(#9944136)
Think it means that most machines are not memory or disk constrained these days, but there is extra processing to perform the dynamic linking. Sort of a cost-benefit argument it seems. Doesn't address the issue of security etc and the benefit of just having 1 instance of a library to update when maintaining a complete system however.
Re:Some analysis of the 1M most popular sites on the web
by jwr on Saturday July 25, 2015 @03:51AM
(#9946921)
[I should not have brought shared libs into this, I now regret it, because it sidetracked the entire discussion, but...]
The extra processing is more significant than most people think. The library has to be compiled as relocatable code, which incurs a runtime performance penalty. You also lose a register, which especially on register-constrained architectures is really bad (it was a tragedy on iA32, it's less of an issue now).