network
network copied to clipboard
getaddrinfo cannot be statically linked if glibc is used
For easy deployment of network programs in Haskell, it would be nice if all libraries were statically linked. Golang does this well as we know.
Unfortunately, it appeared that getaddrinfo in glibc has to be always dynamically linked due to libnss. Now we have the dns library, I would like to implement getAddrInfo purely in Haskell.
Static linking would be lovely.
dns depends on network. So, we need to refactor them a lot, unfortunately.