LLM-written Rust library bbtree verified: speed claims hold, memory savings reverse

lmoroney · x · 2026-10-27

Xiangpeng Hao, designer of Bf-Tree (said to run in production at Microsoft), released bbtree, a Rust ordered map whose implementation he says was written entirely by LLMs with cross-provider cross-checking — he made the design decisions and owns accountability. This sparked debate on Hacker News.

An independent benchmark by @superdoccimo on an 8 vCPU Linux box confirmed the speed claims (several times faster than std BTreeMap on lookups), but the "30% memory reduction" reversed under default glibc malloc: bbtree actually used 1.8x the memory. Takeaway: LLM-written systems code can be serious, but performance claims need per-metric verification.

Original post →

More from coding & agent

coding & agent channel →