Read the original ↗Report

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.

Resultrc_AG31RE8G

Roughly 400,000 lines covering nearly all of glibc, with hot paths about 16% faster on average and coreutils compiling and running against it.

NumbersPartial · HN · Oct 25 · Last checked

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 feats