Hacker News new | ask | show | jobs
by CHY872 1055 days ago
My experience with musl has been that while it’ll most probably work, you’re severely at risk of a 30%+ perf degradation, and that means the juice is really not worth the squeeze.

glibc shouldn’t be statically compiled in because it’s lgpl and so immediately infects your code if you do.

The zig linker is quite nice here because it lets you pick what glibc you want to be compatible with.

1 comments

> you’re severely at risk of a 30%+ perf degradation

Do you know if that's mainly due to the inefficient malloc, or if there are other important performance bottlenecks?