libsocket should go the way of libpthread
Like libw, libpthread, and others before it, libsocket and libnsl should move into libc and enter retirement as filters.
While most software written with portability in mind at all knows about these two problem children, this remains a persistent source of complaints and frustration for no apparent reason. Over 2/3 of the processes on randomly sampled systems already have these libraries in their address spaces, and for those that do not, the cost is 3 pages (2 for libnsl's data and 1 for libsocket's). Even on a large system with thousands of processes, the cost will be less than 20MB total, well below 0.1% of DRAM on such systems. Systems with fewer processes, or a larger share of processes that need these libraries anyway, will pay a proportionately lower price.
Updated by Yuri Pankov almost 3 years ago
- Subject changed from libsocket and libnsl should go the way of libpthread to libsocket should go the way of libpthread
- Status changed from New to In Progress
- Assignee changed from Rich Lowe to Yuri Pankov
- % Done changed from 60 to 30
libnsl should stay as it has a lot of other code that simply doesn't belong to libc, though some of its citizens can move.