HN user

eyemac

3 karma
Posts0
Comments2
View on HN
No posts found.
TV is broken 14 years ago

> Ten times as many channels, and now I wasn't sure if there were even twice as many as in the old days.

I dislike the fact that they make such a big deal about the number of channels available. DirectTV, for example, offers between 140 and 285 channels! Who would want to flip through that many channels?!

> I was under the impression that if you have two or more instances of the same .so/.dll/.dylibs in different processes, and they end up using different virtual addresses then they can't share the same code page. Maybe I'm behind times...

By design, dylibs (i.e. shared dynamic libraries) are allowed to be loaded at different virtual addresses and still have their text/ro sections shared.

Because dylibs are always compiled with -fPIC, they do not have any dependence on their load addresses (branches are pc-relative, data loads go through the GOT, etc). This allows the dyld to map the physical address(es) of a dylib's text/ro section(s) into virtual address spaces of multiple processes with very little relocation.