frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Comparison of C/POSIX standard library implementations for Linux

https://www.etalabs.net/compare_libcs.html
26•smartmic•3h ago

Comments

ObscureScience•2h ago
That table is unfortunately quite old. I can't personally say what have changed, but it is hard to put much confidence in the relevance of the information.
snickerer•2h ago
Fun libc comparison by the author of musl.

My getaway is: glibc is bloated but fast. Quite unexpected combination. Am I right?

kstrauser•1h ago
It’s not shocking. More complex implementations using more sophisticated algorithms can be faster. That’s not always true, but it often is. For example, look at some of the string search algorithms used by things like ripgrep. They’re way more complex than just looping across the input and matching character by character, and they pay off.

Something like glibc has had decades to swap in complex, fast code for simple-looking functions.

weinzierl•1h ago
In case of glibc think what you said is orthogonal to its bloat. Yes, it has complex implementations but since they are for a good reason I'd hardly call them bloat.

Independently from that glibc implements a lot of stuff that could be considered bloat:

- Extensive internationalization support

- Extensive backward compatibility

- Support for numerous architectures and platforms

- Comprehensive implementations of optional standards

kstrauser•1h ago
Ok, fair points, although internationalization seems like a reasonable thing to include at first glance.

Is there a fork of glibc that strips ancient or bizarre platforms?

timeinput•1h ago
My take away is that it's not a meaningful chart? Just in the first row musl looks bloated at 426k compared to dietlibc at 120k. Why were those colors chosen? It's arbitrary and up to the author of the chart.

The author of musl made a chart, that focused on the things they cared about and benchmarked them, and found that for the things they prioritized they were better than other standard library implementations (at least from counting green rows)? neat.

I mean I'm glad they made the library, that it's useful, and that it's meeting the goals they set out to solve, but what would the same chart created by the other library authors look like?

thrtythreeforty•48m ago
It really ought to lead with the license of each library. I was considering dietlibc until I got to the bottom - GPLv2. I am a GPL apologist and even I can appreciate that this is a nonstarter; even GNU's libc is only LGPL!
jay-barronville•36m ago
Please note that the linked comparison table has been unmaintained for a while. This is even explicitly stated on the legacy musl libc website[0][0] (i.e., “The (mostly unmaintained) libc comparison is still available on etalabs.net.”).

[0]: https://www.musl-libc.org

When doctors describe your brain scan as a "starry sky," it's not good

https://arstechnica.com/health/2025/05/when-doctors-describe-your-brain-scan-as-a-starry-sky-its-not-good/
1•Bender•43s ago•0 comments

Pakistani Govt shares game footage as real military action

https://ukdefencejournal.org.uk/pakistani-govt-shares-game-footage-as-real-military-action/
1•_tk_•1m ago•0 comments

Show HN: Hackergrep.com – search Hacker News for tech jobs

https://hackergrep.com
1•neuralnexus•1m ago•0 comments

Software engineer taught AI to hunt bugs by interfacing LLM with debugging tools

https://www.pcgamer.com/hardware/a-software-engineer-taught-ai-to-hunt-bugs-by-interfacing-an-llm-with-debugging-tools-and-has-released-the-open-source-code-its-like-going-from-hunting-with-a-stone-spear-to-using-a-guided-missile/
1•inetsee•1m ago•0 comments

Introducing Myself

https://blogs.gnome.org/steven/2025/05/06/introducing-myself/
1•vishnumohandas•2m ago•0 comments

Show HN: Product Hunt AI Coach – AI voice Agent that remembers you

https://buildinpublic.buzz
1•ajabhish•3m ago•0 comments

Ask HN: If 1 person can control 10 AI agents, why would still need that person?

1•flornt•5m ago•2 comments

Pope Leo XIV lays out his vision, identifies AI as a main challenge for humanity

https://apnews.com/article/pope-leo-vision-papacy-artificial-intelligence-36d29e37a11620b594b9b7c0574cc358
1•layer8•5m ago•0 comments

Get Weird and Disappear

https://ludic.mataroa.blog/blog/get-weird-and-disappear/#i-judging-a-book-by-its-cover
1•Curiositry•7m ago•0 comments

Decade-Long Search for a Battery That Can End the Gasoline Era

https://www.nytimes.com/2025/05/09/business/mercedes-factorial-solid-state-battery.html
1•bookofjoe•7m ago•1 comments

For $595, you get what nobody else can give you for twice the price (1982) [pdf]

https://s3data.computerhistory.org/brochures/commodore.commodore64.1982.102646264.pdf
1•indigodaddy•9m ago•0 comments

Bash-prompt-EOL-mark: Print EOL mark for output without final newline

https://github.com/telotortium/bash-prompt-eol-mark
1•telotortium•9m ago•0 comments

Be the node you want to see in the network

https://taylor.town/wealth-000
2•Curiositry•10m ago•0 comments

Show HN: WinCse – Integrating AWS S3 with Windows Explorer Official Release

https://github.com/cbh34680/WinCse
1•cbh34680•13m ago•0 comments

Twenty eight slightly rude notes on writing

https://www.experimental-history.com/p/28-slightly-rude-notes-on-writing
1•Curiositry•14m ago•0 comments

There's no need to over engineer a URL shortener

https://www.luu.io/posts/2025-over-engineer-url-shortener
1•thunderbong•16m ago•0 comments

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
2•charlycst•16m ago•0 comments

Show HN: StarList Exploring the most impactful startups and companies since 1960

https://starlist-snowy.vercel.app/
1•sahil423•18m ago•0 comments

Smartphone Sensors and Antihydrogen Aould Soon Put Relativity to the Test

https://physicsworld.com/a/smartphone-sensors-and-antihydrogen-could-soon-put-relativity-to-the-test/
1•EA-3167•21m ago•0 comments

Florida bill requiring encryption backdoors for social media accounts has failed

https://techcrunch.com/2025/05/09/florida-bill-requiring-encryption-backdoors-for-social-media-accounts-has-failed/
1•chrisjj•22m ago•0 comments

Anubis and Caddy-Docker-Proxy

https://patdavid.net/2025/05/anubis-and-caddy-docker-proxy/
1•xena•26m ago•0 comments

Albert Ellis: Stoicism as the Root of CBT (2023)

https://thewalledgarden.com/albert-ellis-stoicism-as-the-root-of-cbt/
1•mellosouls•27m ago•0 comments

Engineering principles in the age of vibe coding

1•denieler•27m ago•1 comments

Yahoo Mail vs. Gmail: Which should you use?

https://zapier.com/blog/yahoo-vs-gmail/
2•mooreds•36m ago•1 comments

GraphQL vs. REST API: Which Is a Natural Fit for Graph Databases?

https://memgraph.com/blog/graphql-vs-rest-api
3•sareada52•43m ago•0 comments

Gen Z's 'conscious unbossing' should be a wake-up call for businesses

https://www.businessinsider.com/gen-z-consciously-unbossing-avoid-management-roles-preserve-mental-health-2025-4
5•rntn•43m ago•1 comments

AI agents in B2B sales: pre‑built tools vs. custom solutions

https://www.yougotus.ai/ai-agents-in-b2b-sales
1•Bittermann•44m ago•0 comments

Trump admin to roll back Biden's AI chip restrictions

https://arstechnica.com/ai/2025/05/trump-admin-to-roll-back-bidens-ai-chip-restrictions/
5•byte-bolter•48m ago•1 comments

OpenAI admits it screwed up testing its 'sycophant-y' ChatGPT update

https://www.theverge.com/news/661422/openai-chatgpt-sycophancy-update-what-went-wrong
3•bit_qntum•50m ago•0 comments

A mathematical proof assistant (v2)

https://github.com/teorth/estimates
3•ptrj_•50m ago•0 comments