Skip to content

Comment on Don't use musl if you care about performanceparent

Comments

I'm curious. What convenience, specifically, are people benefiting from by using musl?

If you want to ship a prebuilt binary that'll run on any linux distro you need to statically link libc and musl is by far the easiest way to do that.

except it only can work for CLI apps or anything that doesn't use the GPU as for instance nvidia drivers require glibc

The convenience (?) of not having to comply with GPL terms. Some people really hate copyleft.

Glibc is lgpl, you _definitely_ don't need to comply with GPL to link to it.

Right. I should have said "comply with copyleft licenses".

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.