Better HN
topnewbestaskshowjobs
Log inSign up

eyemac

3 karma · joined Jan 10, 2012 (14y ago) · 2 submissions

Submissions

comment 14y ago · link · parent

> 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?!

comment 14y ago · link · parent

> 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.