Numbers·Partial·Claude Code
glibc reimplementation in Rust
Claude Code generated specs and then a Rust reimplementation of glibc, working without consulting the original glibc source, in about 400,000 lines of code.
Roughly 400,000 lines covering nearly all of glibc, with hot paths about 16% faster on average and coreutils compiling and running against it.
Overview
How it was set up
Claude Code wrote specs first, then the code, and was told never to consult glibc source. Rust is the main language; some hot paths use C or assembly behind a C ABI.
Worth knowing
Cold-path code is still slower than glibc, the dynamic loader is not built, and the author says Claude's output needs cleanup.
A prompt to start from
The source does not show the prompt.
Sources 1
History
- Source published
- 2026-10-25
- Added to Agentic Feats
- 2026-10-26
- Pick
- No
- Markdown copy
- /c/glibc-reimplementation-in-rust-claude-code.md
More in coding
131 featsResult$28,335 spent, 9,350 commits across 145 repos, with spend up 7.4x in April after parallel git worktrees. Only 0.7% of tool calls ran overnight.
ResultOpus 5.5 recorded the repo's demo video itself using the record feature, and the author uses the tool constantly for debugging.
ResultA nightly workflow found a meteor on 25 October 2026. The bundled night detector found 95% of planes and 90% of meteors on held-out nights.