News for hackers. Stuff that matters.
Re:Ditching Windows: 2 Weeks with Ubuntu Linux on the Dell X... by scns on Thursday October 25, 2018 @02:35PM (#18303352)
Is it not possible to link glibc staticalliy? IIRC musl has readability and code size in mind while glibc optimizes for performance at the cost of readability and codesize.
Re:Ditching Windows: 2 Weeks with Ubuntu Linux on the Dell X... by nineteen999 on Thursday October 25, 2018 @05:20PM (#18304679)
The problem that I know of is that glibc supports loading DSO modules, eg. for NSS, so it's not going to support pluggable NSS sources like LDAP etc when statically linked. There are workarounds, however:

https://stackoverflow.com/questions/3430400/linux-static-lin...

Can't imagine many Linux gamers are going to need NSS support in their game binaries. It's a bit of a stretch to say glibc doesn't support static linking, perhaps "officially" it doesn't, its just not all the extended features are going to work.

Static linking is generally going to be frowned upon these days however since you're effectively linking security issues into the binary forever.

Re:Ditching Windows: 2 Weeks with Ubuntu Linux on the Dell X... by rurban on Friday October 26, 2018 @10:57AM (#18309783)
Not really. musl optimizes for performance and codesize, whilst glibc optimizes for the random user who needs to read error message in farsi and logs on via an external LDAP service, and needs LD and MALLOC hooks to debug weird edge cases.

glibc unicode tables are huge, musl are tiny.

glibc uses assembler optimizations for everything, whilst musl uses compiler auto-vectorization, which mostly beats handwritten assembly, esp. with constant arguments.